Advertisement
MasterKyle08

Commandspy script MasterKyle08

Sep 19th, 2019
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. command /commandspy:
  2. aliases: /commands, /cspy
  3. permission: commandspy.use
  4. permission message: &e&l(!) You cannot use this command!
  5. trigger:
  6. if {cs::%uuid of player%} is set:
  7. clear {cs::%uuid of player%}
  8. send "&c&l(!) Command spy has been disabled."
  9. send "&c&l(!) Your command spy has been disabled."
  10. else:
  11. set {cs::%uuid of player%} to true
  12. send "&a&l(!) Your command spy has been enabled."
  13. send "&a&l(!) Command spy has been enabled."
  14. on command:
  15. if sender is a player:
  16. loop all players:
  17. if {cs::%uuid of loop-player%} is set:
  18. if "%player%" is not "%loop-player%":
  19. send "&2&l(Commandspy) &b&l%player% &cexecuted the command &n/%complete command%&c&l." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement