Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /socialspy:
- permission: skess.socialspy
- trigger:
- if {socialspy::%player%} is not set:
- set {socialspy::%player%} to true:
- else:
- delete {socialspy::%player%}
- on command:
- if command is "msg", "tell", "whisper", "m", "t" or "w":
- loop all players:
- if loop-player has permission "skess.socialspy":
- if {socialspy::%loop-player%} is true:
- send "%player's display name%&f: %command%" to loop-player
- on join:
- delete {socialspy::%player%}
- on quit:
- delete {socialspy::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement