Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # B O T C M D
- command /bot [<offline player>]:
- permission: bot.use
- permission message: No Permission
- trigger:
- if arg 1 is not set:
- send "&aUsage: /bot (player)"
- stop
- make player execute "ban %arg 1% Bot"
- options:
- {chat::Muted} = false
- command /mc:
- permission: mc.use
- permission message: No Permission
- aliases: mutechat
- trigger:
- {chat::Muted} is true:
- send "&7The chat is already muted"
- stop
- set {chat::Muted} to true
- broadcast "&aThe chat has been muted by &a&l%executor%"
- on chat:
- {chat::Muted} is true:
- if player does not have permission "mc.use":
- cancel event
- send "&7You cannot talk while the chat is muted"
- #new command
- command /umc:
- permission: mc.use
- permission: No Permission
- aliases: unmutechat
- trigger:
- {chat::Muted} is false:
- send "&7The chat is not muted"
- stop
- set {chat::Muted} to false
- broadcast "&aThe chat has been un-muted by &a&l%executor%"
- command /cc:
- permission: cc.use
- permission message: No Permission
- trigger:
- loop 300 times:
- broadcast ""
- broadcast "&aThe chat has been cleared by &a&l%executor%"
- command /bc [<string>]:
- permission: bc.use
- permission message: No Permission
- aliases: broadcast
- trigger:
- if arg 1 is not set:
- send "&aUsage: /bc (message)"
- stop
- broadcast "&8&l[&c&lALERT&8&l] &a%arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement