on sign: if line 1 is "[%text%]": if line 4 is "%text%" if line 3 is "MYWARPS": if player has permission "MyWarps.permissions": set line 1 to "&a[%text%]" set line 3 to "&cMYWARPS" set "%{_c}%" to "%location of sign%" set "%{_w}%" to "true" set "%{_p}%" to "%line 4%" else: if line 1 is "[%text%]" if line 3 is "MYWARPS": set line 1 to "&a[%text%]" set line 3 to "&cMYWARPS" set "%{_a}%" to "%location of sign%" set "%{_w}%" to "true" command /mywarps []: trigger: if arg 1 is not set: send "&8> &3Podaj warp do ktorego chcesz sie teleportowac." send "" send "&8tip> &3Nie ktore warpy sa pod permisjami." if arg 1 is set: if %{_w}% is true: send "&8> &3Teleportuje za 3..." wait 1 second change message to "&8> &3Teleportuje za 2.." wait 1 second change message to "&8> &3Teleportuje za 1." wait 1 second teleport player to %{_a}% change message to "&8> &3Poprawnie teleportowano!" else: send "&8> &3Ten warp nie istnieje!" if arg 1 is set: if %{_w}% is true: if player has permission "%{_p}%": send "&8> &3Teleportuje za 3..." wait 1 second change message to "&8> &3Teleportuje za 2..." wait 1 second change message to "&8> &3Teleportuje za 1..." wait 1 second teleport player to %{_c}% change message to "&8> &3Poprawnie teleportowano!" else: send "&8> &3Nie mozesz teleportowac sie do tego warpu!" else: send "&8> &3Ten warp nie istnieje!" command /tpa []: trigger: if arg 1 is not set: send "&8>" send "&8> &3Poprawne uzycie &c/tpa nick" if arg 1 is set: send "&8>" send "&8> &3Wyslales prosbe o teleportacje do &c%arg-1%&3!" send "&8>" to arg-1 send "&8> &3Gracz &c%arg-1% &3wyslal prosbe o teleportacje. Akceptacja &c/tpaccept &3Blokowanie &c/tpdeny" to arg-1 set "%{_y}%" to "true" set "%{_r}%" to "%player%" command /tpaccept: trigger: if %{_y}% is true: set %{_y}% to false send "&8>" send "&8> &3Akceptowales prosbe o teleportacje od &c%{_r}%&3!" send "&8>" to %{_r}% send "&8> &3Poprawnie przeteleportowano do &c%player&3!%" to %{_r}% teleport %{_r}% to player else: send "&8>" send "&8> &3Aktualnie nie masz oczekujacej prosby o teleportacje." command /tpdeny []: trigger: if %{_y}% is true: set %{_y}% to false send "&8>" send "&8> &3Zablokowales teleportacje od &c%{_r}%&3!" send "&8>" to %{_r}% send "&8> &3Gracz &c%player% &3zablokowal twoja prosbe o teleportacje!" to %{_r}% else: send "&8>" send "&8> &3Aktualnie nie masz oczekujacej prosby o teleportacje." command /tp []: trigger: if player has permission "server.tp": if arg 1 is not set: send "&8>" send "&8> &3Poprawne uzycie &c/tp nick" if arg 1 is set: send "&8>" send "&8> &3Poprawnie przeteleportowano do &c%arg-1%&3!" teleport player to arg-1 else: send "&8>" send "&8> &3Nie masz permisji." command /s []: trigger: if player has permission "server.s": if arg 1 is not set: send "&8>" send "&8> &3Poprawne uzycie &c/s nick" if arg 1 is set: send "&8>" send "&8> &3Poprawnie przeteleportowales gracza &c%arg-1% &3do &csiebie&3!" teleport arg-1 to player command /tphere []: trigger: if player has permission "server.tphere": if arg 1 is not set: send "&8>" send "&8> &3Poprawne uzycie &c/tphere nick" if arg 1 is set: send "&8>" send "&8> &3Poprawnie przeteleportowales gracza &c%arg-1% &3do &csiebie&3!" teleport arg-1 to player command /tpall: trigger: if player has permission "server.tpall": send "&8>" send "&8> &3Poprawnie teleportowano &cwszystkich &3do &cciebie &3!" teleport all to player command /setspawn: trigger: if player has permission "server.setspsawn": set "%{_s}%" to "true" set "%{_stp}%" to "%block at player%" send "&8> &3Poprawnie ustawiono spawn!" else: send "&8> &3Nie masz permisji." command /spawn: trigger: if %{_s}% is true: send "&8>" send "&8> &3Poprawnie przeteleportowano na &cspawn&3!" teleport player to %{_stp}% else: send "&8> &3Spawn nie zostal ustawiony."