Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /commandspy:
- permission: sk.cs
- aliases: /cmds
- trigger:
- if {%player%.cs} is not set:
- set {%player%.cs} to false
- if {%player%.cs} is false:
- message "&8[&7CommandSpy&8] &eTurned on"
- set {%player%.cs} to true
- else if {%player%.cs} is true:
- message "&8[&7CommandSpy&8] &eTurned off"
- set {%player%.cs} to false
- else:
- message "&8[&7CommandSpy&8] &cError occurred"
- on command:
- loop all players:
- if {%loop-player%.cs} is true:
- message "&8[&7CommandSpy&8] &e%executor%: &6%command%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement