Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------+
- # Skript: SpyCmds |
- # Auteur: TDK DEV |
- # Version: 1.0 |
- #-------------------+
- #Permission: spycmds.toggle
- on command:
- if command's executor is a player:
- set {_command} to "%full command%"
- loop {SpyCmds.command::*}:
- if loop-value is player:
- stop trigger
- else:
- send "&6[&3SpyCmds&6] &e%player% utilise la commande: &5%{_command}%" to loop-value
- else:
- stop trigger
- command /Spycmds:
- permission: spycmds.toggle
- trigger:
- if {Commands.Enabled.%player%} is 1:
- remove player from {SpyCmds.command::*}
- message "&6[&3SpyCmds&6] &cMode OFF"
- delete {Commands.Enabled.%player%}
- else:
- add player to {SpyCmds.command::*}
- set {Commands.Enabled.%player%} to 1
- message "&6[&3SpyCmds&6] &aMode ON"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement