# -------------------------- # Freezer 2.0 by gabixdev # Licensed under WTFPL # -------------------------- # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # Version 2, December 2004 # Copyright (C) 2004 Sam Hocevar # 14 rue de Plaisance, 75014 Paris, France # Everyone is permitted to copy and distribute verbatim or modified # copies of this license document, and changing it is allowed as long # as the name is changed. # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION # 0. You just DO WHAT THE FUCK YOU WANT TO. command /freeze [] []: trigger: player has permission "gabix.freeze": argument 1 is not set: send "&4(&c&l!&4) &cPodaj gracza -.-" stop argument 1 is online: send "Gracz %argument 1% zostal rozmrozony." set argument 1's walk speed to 0 set argument 1's fly speed to 0 argument 2 is set: send "Gracz %argument 1% zostal zamrozony na %argument 2% seconds. Uzyj /unfreeze aby odmrozic." wait argument 2 seconds set argument 1's walk speed to 1 set argument 1's fly speed to 1 else: send "Gracz %argument 1% zostal zamrozony. Uzyj /unfreeze aby odmrozic." stop else: send "&4(&c&l!&4) &cGracz nie jest online." else: send "&4(&c&l!&4) &cŁapy precz, to kopie prądem!" command /unfreeze []: trigger: player has permission "gabix.freeze": argument 1 is not set: send "&4(&c&l!&4) &cPodaj gracza -.-" stop argument 1 is online: set argument 1's walk speed to 1 set argument 1's fly speed to 1 send "Gracz %argument 1% zostal rozmrozony." stop else: send "&4(&c&l!&4) &cGracz nie jest online." else: send "&4(&c&l!&4) &cŁapy precz, to kopie prądem!"