Command /zw:
Trigger:
If {pvp.%player%} is true:
Send "Nie Morzesz Zyc ZW Podcas Pvp"
Else:
If {zw.%player%} is false:
Set {zw.%player%} to true:
Broadcast "Gracz %player% jest teraz ZW"
Set {l.%player%} to location of player
Wait 1 minutes
Set {zw.%player%} to false
Else:
Send "Jestes Juz Zw"
On command:
If {zw.%player%} is true:
Cancel event
Send "&4Jestes ZW"
On walking:
If {zw.%player%} is true:
Teleport player to {l.%player}
On join:
If {zw.%player%} is not set:
Set {zw.%player%} to false