#/msg #/socialspy #/r (/reply) #/msgtoggle #/msgadmin command /msg [] []: usage: /msg [] [] aliases: /m trigger: if arg 1 is set: if arg 2 is set: if {msg.%arg-1%} is true: set {chat.private.reply.%player%} to arg 1 set {chat.private.reply.%arg 1%} to player send "&c[MSG] &aDO: %arg 1% &e->&c %arg 2%" to player send "&c[MSG] &eOD: %player% &e->&c %arg 2%" to arg 1 loop all players: if {socialspy.%loop-player%} is true: send "&6MSG &3%player% &7--> &e%arg 1% &apisze: &b%arg-2%" to loop-player stop if {msg.%arg-1%} is false: send "&c[MSG] &4INFO: &eGracz posiada wyłączone wiadomości prywatne!" stop if {adminmsg.%arg-1%} is true: send "&c[MSG] &4INFO: &eNie możesz wysłać wiadomości prywatnej do admina! Spróbuj &6/helpop&e." stop else: send "&c[MSG] &4INFO: &ePodaj treść wiadomości!" stop else: send "&c[MSG] &4INFO: &ePodaj gracza do którego chcesz wysłać wiadomość" stop command /reply []: usage: /reply [] aliases: /r trigger: if arg 1 is set: if {msg.%{chat.private.reply.%player%}%} is true: send "&c[MSG] &aDO: %{chat.private.reply.%player%}% &e->&c %arg 1%" to player send "&c[MSG] &eOD: %player% &e-> &c%arg 1%" to {chat.private.reply.%player%} loop all players: if {socialspy.%loop-player%} is true: send "&6MSG &3%player% &7--> &e%{chat.private.reply.%player%}% &apisze: &b%arg-1%" to loop-player stop if {msg.%{chat.private.reply.%player%}%} is false: send "&c[MSG] &4INFO: &eGracz posiada wyłączone wiadomości prywatne!" stop if {adminmsg.%{chat.private.reply.%player%}%} is true: send "&c[MSG] &4INFO: &eNie możesz wysłać wiadomości prywatnej do admina! Spróbuj &6/helpop&e." stop else: send "&c[MSG] &4INFO: &ePodaj treść wiadomości!" stop command /socialspy []: permission: social.spy permission message: &cNie posiadasz permisji! &6(&esocial.spy&6) trigger: if {socialspy.%player%} is not set: set {socialspy.%player%} to false send "&cSpróbuj ponownie! Nie miałeś ustawionego social spy ani na włączonego ani na wyłączonego." stop if {socialspy.%player%} is false: set {socialspy.%player%} to true send "&cPomyślnie &2WŁĄCZONO &csocialspy." stop if {socialspy.%player%} is true: set {socialspy.%player%} to false send "&cPomyślnie &4WYŁĄCZONO &csocialspy." stop command /msgadmin []: permission: msg.admin permission message: &cNie posiadasz permisji! &6(&emsg.admin&6) trigger: if {msg.%player%} is false: send "&c[&4ADMIN &cMSG] &7INFO: &8Posiadasz &cWYŁĄCZONE &8wiadomości prywatne." send "&c[&4ADMIN &cMSG] &7INFO: &8Pierw użyj /msgtoggle, dopiero potem /msgadmin." stop if {adminmsg.%player%} is not set: set {adminmsg.%player%} to false send "&c[&4ADMIN &cMSG] &7INFO: &8Nie posiadałeś ani włączonego ani wyłączonego trybu msg dla admina. Spróbuj ponownie." stop if {adminmsg.%player%} is false: set {adminmsg.%player%} to true send "&c[&4ADMIN &cMSG] &7INFO: &8Pomyślnie &aWŁĄCZYŁEŚ &8tryb msg dla admina. Od teraz nikt nie może do ciebie wysłać wiadomości prywatnej." stop if {adminmsg.%player%} is true: set {adminmsg.%player%} to false send "&c[&4ADMIN &cMSG] &7INFO: &8Pomyślnie &cWYŁĄCZYŁEŚ &8tryb msg dla admina. Od teraz gracze mogą do ciebie wysyłać wiadomości prywatne." stop command /msgtoggle []: trigger: if {adminmsg.%player%} is true: send "&c[MSG] &7INFO: &8Posiadasz &aWŁĄCZONY &8tryb msg dla admina!" stop if {msg.%player%} is not set: set {msg.%player%} to false send "&c[MSG] &7INFO: &8Nie posiadałeś włączonego ani wyłączonego MSG spróbuj ponownie. &7&oustawiono na &c&owyłączone&7&o!" stop if {msg.%player%} is false: set {msg.%player%} to true send "&c[MSG] &7INFO: &8Pomyślnie &aWŁĄCZONO &8wiadomości prywatne." stop if {msg.%player%} is true: set {msg.%player%} to false send "&c[MSG] &7INFO: &8Pomyślnie &cWYŁĄCZONO &8wiadomości prywatne." stop on join: if {msg.%player%} is false: wait 1 second send "&c[MSG] &7INFO: &8Posiadasz &cWYŁĄCZONE &8wiadomości prywatne." send "&c[MSG] &7INFO: &8Aby je &aWŁĄCZYĆ &8użyj /msgtoggle." stop if {adminmsg.%player%} is true: wait 1 second send "&c[&4ADMIN &cMSG] &7INFO: &8Posiadasz &aWŁĄCZONY &8tryb msg dla admina." send "&c[&4ADMIN &cMSG] &7INFO: &8Aby go &cWYŁĄCZYĆ &8użyj /msgadmin." stop