@up Nie zadziała. Poprawna wersja:
on join:
on command /msgswitch [<text>]
Usage: "/msgswitch on/off"
permission: "msgs.switch"
permission text: "&4&lNie masz uprawnien!"
trigger:
if arg 1 is "on":
set {msgs} to true
send "&f&lMSG zostalo wlaczone" to all players
if arg 1 is "off":
set {msgs} to false
send "&f&lMSG zostalo wylaczone" to all players
command /m <player> [<text>]:
trigger:
if {msgs} is true:
execute player command "msg %argument 1% %argument 2%"
if {msgs} is false:
cancel event
send "&f&lMSG jest aktualnie wylaczone"
//Przywracam posta ~Derpy
every 1 seconds:
execute console command "/playsound random.pop" to all player's
every 1 second:
execute command "playsound random.pop"
//Przywracam posta ~Derpy