Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &7[&8Command Spy&7]&6
- s: &7[&8CS&7]&6
- command /commandspy:
- permission: skript.op
- trigger:
- if {commandspy::%executor%} is not set:
- set {commandspy::%executor%} to true
- message "{@p} Command Spy enabled!"
- stop
- else if {commandspy::%executor%} is true:
- set {commandspy::%executor%} to false
- message "{@p} Command Spy disabled!"
- stop
- else if {commandspy::%executor%} is false:
- set {commandspy::%executor%} to true
- message "{@p} Command Spy enabled!"
- stop
- else:
- message "{@p} Something went wrong!"
- on command:
- loop all players:
- if {commandspy::%loop-player%} is true:
- message "{@s} %executor%: %command%" to loop-player
Add Comment
Please, Sign In to add comment