Advertisement
ReportCards23213

Untitled

Apr 25th, 2017
77
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. permission: sk.cs
  3. aliases: /cmds
  4. trigger:
  5. if {%player%.cs} is not set:
  6. set {%player%.cs} to false
  7. if {%player%.cs} is false:
  8. message "&8[&7CommandSpy&8] &eTurned on"
  9. set {%player%.cs} to true
  10. else if {%player%.cs} is true:
  11. message "&8[&7CommandSpy&8] &eTurned off"
  12. set {%player%.cs} to false
  13. else:
  14. message "&8[&7CommandSpy&8] &cError occurred"
  15. on command:
  16. loop all players:
  17. if {%loop-player%.cs} is true:
  18. message "&8[&7CommandSpy&8] &e%executor%: &6/%command%" to loop-player
  19. on load:
  20. loop all players:
  21. if loop-player has permission "op":
  22. message "&8[&7CommandSpy&8] &eThanks for using this skript! Use /cmds to toggle command spy (ReportCards)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement