Advertisement
Rida94

Untitled

Apr 9th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. command /socialspy:
  2. permission: skess.socialspy
  3. trigger:
  4. if {socialspy::%player%} is not set:
  5. set {socialspy::%player%} to true:
  6. else:
  7. delete {socialspy::%player%}
  8.  
  9. on command:
  10. if command is "msg", "tell", "whisper", "m", "t" or "w":
  11. loop all players:
  12. if loop-player has permission "skess.socialspy":
  13. if {socialspy::%loop-player%} is true:
  14. send "%player's display name%&f: %command%" to loop-player
  15.  
  16. on join:
  17. delete {socialspy::%player%}
  18.  
  19. on quit:
  20. delete {socialspy::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement