command /msg [] []: trigger: if arg 1 is set: if arg 2 is set: if arg 1 is online: if player-arg is "%player%": message " &6&lN&3&lS &8» &cNiestety ale nie możesz wysłać wiadomosci do &esiebie&7." to player stop if player-arg has permission "nethersky.msgadmin": message " &6&lN&3&lS &8» &cTa osoba nie akceptuje wiadomosci prywatnych." to player message " &6&lN&3&lS &8» &7Potrzebujesz Administracji? Napisz /raport." to player stop if player has permission "nethersky.msgoff": message " &6&lN&3&lS &8» &cTwoje wiadomosci prywatne sa wylaczone." to player message " &6&lN&3&lS &8» &7Jesli chcesz wlaczyc wiadomosci prywatne, wpisz &a/trybmsg&7." to player stop if player-arg has permission "nethersky.msgoff": message " &6&lN&3&lS &8» &cTa osoba nie akceptuje wiadomosci prywatnych." to player message " &6&lN&3&lS &8» &7Jesli chcesz wylaczyc wiadomosci prywatne, wpisz &a/trybmsg&7." to player stop if player has permission "nethersky.msgon": if player-arg has permission "nethersky.msgon": set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player message "&8(&cTy &7-> &e%arg-1%&8) &6%argument-2%" to player message "&8(&e%arg-1% &7-> &cTy&8) &6%argument-2%" to player-arg send player-arg title "&8[&6&lMSG&8]" with subtitle "&cOtrzymales wiadomosc prywatna." for 2 second stop command /trybmsg: trigger: if player has permission "nethersky.msgon": execute console command "pex user %player% add nethersky.msgoff" execute console command "pex user %player% add -nethersky.msgon" message " &6&lN&3&lS &8» &7Otrzymywanie prywatnych wiadomosci jest teraz &cWYLACZONE&7." to player stop if player has permission "nethersky.msgoff": execute console command "pex user %player% remove nethersky.msgoff" execute console command "pex user %player% remove -nethersky.msgon" message " &6&lN&3&lS &8» &7Otrzymywanie prywatnych wiadomosci jest teraz &aWLACZONE&7." to player stop command /reply []: trigger: if arg 1 is set: message "&8(&cTy &7-> &e%{chat.private.reply.%player%}%&8) &6%arg-1%" to player message "&8(&e%player% &7-> &cTy&8) &6%arg-1%" to {chat.private.reply.%player%} send {chat.private.reply.%player%} title "&8[&6MSG&8]" with subtitle "&cOtrzymales wiadomosc prywatna." for 2 second command /r []: trigger: if arg 1 is set: message "&8(&cTy &7-> &e%{chat.private.reply.%player%}%&8) &6%arg-1%" to player message "&8(&e%player% &7-> &cTy&8) &6%arg-1%" to {chat.private.reply.%player%} send {chat.private.reply.%player%} title "&8[&6MSG&8]" with subtitle "&cOtrzymales wiadomosc prywatna." for 2 second command /raport []: trigger: if arg 1 is set: loop all players: if loop-player have permission "nethersky.raport": send "" to loop-player send "" to loop-player send " &6&lN&3&lS &8» &cOtrzymano raport od gracza &e%player%&c:" to loop-player send " &6&lN&3&lS &8» &cTresc raportu: &6%arg-1%" to loop-player send "" to loop-player send "" to loop-player if arg 1 is not set: message " &6&lN&3&lS &8» &cNie podano tresci reportu&4!" to player