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
- on load:
- loop all players:
- if loop-player has permission "op":
- 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