Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8[&eEnterName&8]
- command /globalchat <text>:
- permission: staff
- permission message: &4[ERROR] &e&lStaff &eperm needed
- aliases: /gchat , /globalchat
- trigger:
- if arg-1 is set:
- if arg-1 is "on" or "enable" or "unmute":
- set {globalmute} to true
- broadcast "{@p} &7Chat has been &aenabled!"
- if arg-1 is "off" or "disable" or "mute":
- set {globalmute} to false
- broadcast "{@p} &7Chat has been &cdisabled!"
- if arg-1 is "help":
- message "{@p} &e-*-*-*-*-*-*-&6COMMANDS AND HELP&e-*-*-*-*-*-*-"
- send "{@p} &c made by hiturylol"
- message "{@p} &c- &e/gchat mute &6(Disable chat)"
- message "{@p} &c- &e/gchat unmute &6(Enable chat)"
- message "{@p} &c- &e/globalchat help &6(Commands and help)"
- send "{@p} &c- &e/alert <message> &6(Alert)"
- send "{@p} &c- &e/gchatclear &6(Chat Clear) &e(/ss)"
- send "{@p} &f"
- message "{@p} &e-*-*-*-*-*-*--*-*-*-*-*-*--*-*-*-*-*-*-*-"
- on chat:
- if player has permission "staff":
- if {globalmute} is false:
- if player does not have permission "staff":
- if {globalmute} is false:
- cancel event
- send "&6Cannot talk while chat is muted!"
- command /clearchat
- permission: staff
- permission message: &4[ERROR] &eStaff perm needed
- aliases: /chatclear, /gchatclear, /globalchatclear, /gss, /clearchat
- trigger:
- loop 150 times:
- broadcast ""
- broadcast "{@p} &aChat was cleared."
- command /globalchatalert [<text>]:
- permission: staff
- permission message: &4[ERROR] &eStaff perm needed
- aliases: /sb, /alert, gchatalert
- trigger:
- if arg 1 is set:
- loop all players:
- if loop-player has permission "staff":
- message "{@p} &f%colored arg 1%" to loop-players
Advertisement
Add Comment
Please, Sign In to add comment