Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ac [<text>]:
- aliases: /a
- trigger:
- player is op
- if command sender is the console:
- if text-arg is not set:
- message "コンソールからはtextも入力してください"
- else:
- message "&b[Console] %text-arg%" to ops
- stop
- if text-arg is not set:
- if {adminchat::%uuid of player%} is not set:
- set {adminchat::%uuid of player%} to true
- message "<Light Aqua>AdminChat <Lime>on"
- else if {adminchat::%uuid of player%} is true:
- clear {adminchat::%uuid of player%}
- message "<Light Aqua>AdminChat <Light Red>off"
- else:
- message "&b[%player%] %text-arg%" to ops
- #
- on chat:
- player is an op
- {adminchat::%uuid of player%} is true
- cancel event
- message "&b[%player%] %chat-message%" to ops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement