Advertisement
_JWB

Command Spy

Dec 12th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. options:
  2. C: &a&l
  3. P: &2&l
  4. G: &f&l
  5.  
  6.  
  7.  
  8.  
  9. command /commandspy <text>:
  10. permission: skript.op
  11. trigger:
  12. if arg-1 is "on":
  13. send "&{@C}Command Spy {@P}ENABLED"
  14. set {cmmd.spy::%player%} to true
  15. if arg-1 is "off":
  16. send "{@C}Command Spy {@P}DISABLED"
  17. set {cmmd.spy::%player%} to false
  18.  
  19. on command:
  20. set {cfull} to "%full command%"
  21. command sender is not console
  22. "%command%" is not "ac", "helpp", "help", "helpop", "bc", "heal", "bid", "rate", "gc", " ", "/", "picktorch", "feed", "r", "reply", "sc", "ci", "clearall", "broadcast", "bukkit:me", "bukkit:kill", "team", "tc", "teamcoords", "cmdspy", "commandspy", or "kill", or "spec", or "t", or "d", or "c", or "e"
  23. loop all players:
  24. {cmmd.spy::%loop-player%} is true
  25. loop-player is not command sender
  26. message "&aCS &8» %command sender%: /%{cfull}%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement