Advertisement
Guest User

BIBBERGERG

a guest
Jun 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. #-------------------+
  2. # Skript: SpyCmds |
  3. # Auteur: TDK DEV |
  4. # Version: 1.0 |
  5. #-------------------+
  6.  
  7. #Permission: spycmds.toggle
  8.  
  9. on command:
  10. if command's executor is a player:
  11. set {_command} to "%full command%"
  12. loop {SpyCmds.command::*}:
  13. if loop-value is player:
  14. stop trigger
  15. else:
  16. send "&6[&3SpyCmds&6] &e%player% utilise la commande: &5%{_command}%" to loop-value
  17. else:
  18. stop trigger
  19.  
  20. command /Spycmds:
  21. permission: spycmds.toggle
  22. trigger:
  23. if {Commands.Enabled.%player%} is 1:
  24. remove player from {SpyCmds.command::*}
  25. message "&6[&3SpyCmds&6] &cMode OFF"
  26. delete {Commands.Enabled.%player%}
  27. else:
  28. add player to {SpyCmds.command::*}
  29. set {Commands.Enabled.%player%} to 1
  30. message "&6[&3SpyCmds&6] &aMode ON"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement