on command "/msg": loop all players: if {socialspy.%loop-player%} is 1: send "&9&lSocialSpy &8> &2%player% &7&l&m---&8&l> &a%arguments%" on command "/mail": loop all players: if {socialspy.%loop-player%} is 1: send "&9&lSocialSpy &8> &2%player% &7&l&m---&8&l> &a%arguments%" on command "/tell": loop all players: if {socialspy.%loop-player%} is 1: send "&9&lSocialSpy &8> &2%player% &7&l&m---&8&l> &a%arguments%" on command "/r": loop all players: if {socialspy.%loop-player%} is 1: send "&9&lSocialSpy &8> &2%player% &7&l&m---&8&l> &a%arguments%" on command "/reply": loop all players: if {socialspy.%loop-player%} is 1: send "&9&lSocialSpy &8> &2%player% &7&l&m---&8&l> &a%arguments%" on join: if player has permission "socialspy": set {socialspy.%player%} to 1 else: set {socialspy.%player%} to 0 command /socialspy: trigger: if player has permission "socialspy": if {socialspy.%player%} is 1: set {socialspy.%player%} to 0 send "&cSocialspy wyłączone!" to player else: set {socialspy.%player%} to 1 send "&aSocialspy włączone!" to player else: send "&4&lBlad! &cNie Masz Uprawnien" to player