#Author-Superbizons #Version 1.0 #Last Update 10.10.2017 command /event [] []: trigger: if arg 1 is not set: send "Prawidlowe uzycie wlacz/wylacz/tepnij/przygotuj/open/close/info" if arg 1 is set: if arg 1 is "wlacz" or "wylacz" or "przygotuj" or "tepnij" or "info": if arg 1 is "wlacz": if arg 2 is number: set {event.status} to true send " &cWlaczyles zapisy na event" loop arg-2 times: broadcast "&6Zapisy na event sa aktualnie wlaczone" wait 10 seconds stop else: send "Podaj liczbe powtorzen komunikatu" to player if arg 1 is "wylacz": if {event.status} is true: set {event.status} to false send "&cWylaczyles zapisy na event" broadcast "&6Zapisy na event sa aktualnie wylaczone" else: send "&cSystem eventow jest juz wylaczony, po co ponownie go wylaczac?" if arg 1 is "tepnij": if {event.status} is true: execute console command "tp %player% -297.046 21.00000 -46.708" send "&cPrzeteleportowales sie na event" else: send "&cAktualnie zapisy na zaden event nie sa wlaczone" if arg 1 is "przygotuj": execute console command "tp %player% -297.046 21.00000 -46.708" send "Przygotuj sie dobrze :)" to player if arg 1 is "info":