on first join: set {questy.%player%} to 0 set {misje.%player%} to 1 variables: {questy.%player%} = 0 command /q []: trigger: if arg 1 is "1": if {questy.%player%} is 0: if {misje.%player%} is 0: send "&2[&eCzas cos zjesc&2] - &6Slyszalem ze jestes nowy. Na dobry poczatek zabij 20 swin." to player wait 10 second set {misje.%player%} to 1 if {questy.%player%} is 1: send "&6&k;; &czabij 20 swin &6&k;;" to player if arg 1 is "2": if {questy.%player%} is 1: send "&8[&3Drwal&6] - &5Prosze pomoz mi zebrac 64 drewna na opal, wynagrodze cie za pomoc." to player if arg 1 is "zakoncz" or "z": if {questy.%player%} is 1: if player doesn't have 64 log: send "&cNie masz wystarczajaco duzo drewna! &2Potrzebna ilosc to 64" to player stop if player has 64 log: send "&8[&3Drwal&8] - &2Wielkie dzieki za pomoc! W nagrode masz moja siekiere." to player add 1 to {questy.%player%} remove 64 log from player if {questy.%player%} is 0: if player doesn't have 20 porkchop item: send "&cNie zabiles wystarczajaco duzo zwierzat! &2Potrzebna ilosc to 20" to player stop if player has 20 porkchop item: send "&2[&eCzas cos zjesc&2] - &2Wielkie dzieki za pomoc! W nagrode masz troche chleba!" to player give 10 bread to the player remove 20 porkchop item from player add 1 to {questy.%player%} command /unq: permission: q.* trigger: set {questy.%player%} to 0 set {misje.%player%} to 0