tamem313a

awddwa

Oct 20th, 2017
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. options:
  2. p: &7[&8Command Spy&7]&6
  3. s: &7[&8CS&7]&6
  4. command /commandspy:
  5. permission: skript.op
  6. trigger:
  7. if {commandspy::%executor%} is not set:
  8. set {commandspy::%executor%} to true
  9. message "{@p} Command Spy enabled!"
  10. stop
  11. else if {commandspy::%executor%} is true:
  12. set {commandspy::%executor%} to false
  13. message "{@p} Command Spy disabled!"
  14. stop
  15. else if {commandspy::%executor%} is false:
  16. set {commandspy::%executor%} to true
  17. message "{@p} Command Spy enabled!"
  18. stop
  19. else:
  20. message "{@p} Something went wrong!"
  21. on command:
  22. loop all players:
  23. if {commandspy::%loop-player%} is true:
  24. message "{@s} %executor%: %command%" to loop-player
Add Comment
Please, Sign In to add comment