command /drugs [] [] []: usage: "&b&lWpisz &c/drugs help &b&laby dostac pomoc." trigger: if arg-1 is not "crafting" or "give" or "help" or "uzywki": send "&b&lWpisz &c/drugs help &b&laby uzyskac pomoc" stop if arg-2 is not "weed" or "kokaina" or "hash" or "joint" or "lsd" or "marichuana": send "&b&lWpisz &c/drugs help &b&laby uzyskac pomoc" stop if arg-3 is not set: send "&b&lWpisz &c/drugs help &b&laby uzyskac pomoc" stop if arg-1 is "crafting": if player has permission "drugs.crafting": if arg-2 is not "weed" or "kokaina" or "lsd" or "hash" or "marichuana" or "joint": send "&b&lCraftingi: &cWeed, Kokaina, LSD, Hash, Marichuana, Joint&b&l." stop if arg-2 is "weed": open chest with 3 row named "Crafting &a&lWeed'u" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of wheat seeds to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of wheat seeds to be unstealable format slot 12 of player with 1 of emerald to be unstealable format slot 13 of player with 1 of wheat seeds to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of wheat seeds to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of wheat named "&a&lWeed" to be unstealable if arg-2 is "kokaina": open chest with 3 row named "Crafting &6&lKokainy" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of sugar to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of sugar to be unstealable format slot 12 of player with 1 of diamond to be unstealable format slot 13 of player with 1 of sugar to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of sugar to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of sugar named "&6&lKokaina" to be unstealable if arg-2 is "hash": open chest with 3 row named "Crafting &2&lHaszysu" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of ink sac to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of ink sac to be unstealable format slot 12 of player with 1 of emerald to be unstealable format slot 13 of player with 1 of ink sac to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of ink sac to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 2 of dried kelp block named "&2&lHash" to be unstealable if arg-2 is "joint": open chest with 3 row named "Crafting &a&lJointa" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of dead bush to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of dead bush to be unstealable format slot 12 of player with 1 of emerald to be unstealable format slot 13 of player with 1 of dead bush to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of dead bush to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 2 of green dye named "&a&lJoint" to be unstealable if arg-2 is "lsd": open chest with 3 row named "Crafting &f&lLSD" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of poppy to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of dandelion to be unstealable format slot 12 of player with 1 of emerald to be unstealable format slot 13 of player with 1 of dandelion to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of poppy to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of paper named "&f&lLSD" to be unstealable if arg-2 is "marichuana": open chest with 3 row named "Crafting &2&lMarichuany" to player format slot 2 of player with 1 of paper to be unstealable format slot 3 of player with 1 of cobweb to be unstealable format slot 4 of player with 1 of paper to be unstealable format slot 11 of player with 1 of sugar cane to be unstealable format slot 12 of player with 1 of diamond to be unstealable format slot 13 of player with 1 of sugar cane to be unstealable format slot 20 of player with 1 of paper to be unstealable format slot 21 of player with 1 of cobweb to be unstealable format slot 22 of player with 1 of paper to be unstealable format slot 15 of player with 5 of fern named "&2&lMarichuana" to be unstealable else: stop if arg-1 is "give": if player has permission "drugs.give": if arg-2 is not "weed" or "kokaina" or "lsd" or "hash" or "marihuana" or "joint": send "&b&lDostepne uzywki: &cWeed, Kokaina, LSD, Hash, Marichuana, Joint&b&l." if arg-2 is "weed" or "kokaina" or "lsd" or "hash" or "marihuana" or "joint": if arg-3 is not set: send "&b&lJeszcze dodaj ilosc!" if arg-2 is "weed": add arg-3 of wheat named "&a&lWeed" to player if arg-2 is "kokaina": add arg-3 of sugar named "&6&lKokaina" to player if arg-2 is "hash": add arg-3 of dried kelp block named "&2&lHash" to player if arg-2 is "joint": add arg-3 of green dye named "&a&lJoint" to player if arg-2 is "lsd": add arg-3 of paper named "&f&lLSD" to player if arg-2 is "marichuana": add arg-3 of fern named "&2&lMarichuana" to player if arg-1 is "help": if arg-2 is not set: if arg-3 is not set: if player has permission "drugs.help": send "&b&lKomendy:" send "&c/drugs help &b&l &b&l- Wyswietla tą strone." if player has permission "drugs.crafting": send "&c/drugs crafting [Uzywka] &b&l- Pokazuje crafting uzywek." if player has permission "drugs.give": send "&c/drugs give [Uzywka] [Ilosc] &b&l- Dodaje uzywki." if arg-1 is "uzywki": send "&b&lDostepne uzywki: &cWeed, Kokaina, LSD, Hash, Marichuana, Joint" on place of dried kelp block: if name of the player's tool is "&2&lHash": send "Postawiles &2&lHaszys" to player set block up to fire wait 3 second set event-block to air loop all players in radius 4 around event-block: apply glowing to the loop-player for 30 seconds apply luck 2 to the loop-player for 15 seconds send "Zapaliles &2&lHaszys!" on script load: register new shaped recipe for 2 dried kelp block named "&2&lHash" using paper, ink sac, paper, ink sac, emerald, ink sac, paper, ink sac, paper on rightclick: if player is holding green dye named "&a&lJoint": apply nausea 30 to the player for 10 seconds apply luck 2 to the player for 5 seconds apply slowness 2 to the player for 5 seconds send "&6Zajarales jointa!" to the player set player's tool to (item amount of player's tool - 1) of player's tool cancel event on script load: register new shaped recipe for 5 green dye named "&a&lJoint" using paper, fern, paper, fern, emerald, fern, paper, fern, paper on rightclick: if player is holding paper named "&f&lLSD": apply nausea 30 to the player for 10 seconds apply luck 2 to the player for 5 seconds apply slowness 2 to the player for 5 seconds send "&6Polknales LSD!" to the player set player's tool to (item amount of player's tool - 1) of player's tool cancel event on script load: register new shaped recipe for 5 paper named "&f&lLSD" using paper, poppy, paper, dandelion, emerald, dandelion, paper, poppy, paper on rightclick: if player is holding fern named "&2&lMarichuana": apply nausea 30 to the player for 60 seconds apply luck 2 to the player for 40 seconds apply slowness 2 to the player for 20 seconds apply glowing to the player for 40 seconds apply luck 2 to the player for 60 seconds send "&6Zajarales trawke!" to the player set player's tool to (item amount of player's tool - 1) of player's tool cancel event on script load: register new shaped recipe for 5 fern named "&2&lMarichuana" using paper, cobweb, paper, sugar cane, diamond, sugar cane, paper, cobweb, paper on rightclick: if player is holding wheat named "&a&lWeed": apply nausea 30 to the player for 10 seconds apply luck 2 to the player for 5 seconds apply slowness 2 to the player for 5 seconds send "&6Zajarales trawke!" to the player set player's tool to (item amount of player's tool - 1) of player's tool cancel event on script load: register new shaped recipe for 5 wheat named "&a&lWeed" using paper, wheat seeds, paper, wheat seeds, emerald, wheat seeds, paper, wheat seeds, paper on rightclick: if player is holding sugar named "&6&lKokaina": apply speed 2 to the player for 10 seconds apply strength 2 to the player for 5 seconds send "&6Wciagnoles kokaine!" to the player set player's tool to (item amount of player's tool - 1) of player's tool cancel event on script load: register new shaped recipe for 5 sugar named "&6&lKokaina" using paper, sugar, paper, sugar, diamond, sugar, paper, sugar, paper