RichieNy Posted March 27, 2020 Share Posted March 27, 2020 Well, the plugin chat control is broken so here is this for you all to use! options: p: &8[&c!&8]&7 msg: {@p} &cYou are not allowed to use that command! version: 0.0.1 on chat: if player does not have permission "staff.chc": if {mutechat} is set: cancel event send "{@p} You can not speak while chat is muted!" command /chc [<text>]: permission: staff.chc permission message: {@msg} trigger: if arg-1 is "help": send "&3ChatControl Skript" send "&7Made by RichieNy" send "&b/chc help &7→ Shows this help page!" send "&b/chc mute &7→ Mutes the chat!" send "&b/chc clear &7→ Clears the chat!" if arg-1 is "mute": if {mutechat} is set: delete {mutechat} broadcast "{@p} Chat has been unmuted by &b%player%&7!" else: set {mutechat} to true broadcast "{@p} Chat has been muted by &b%player%&7!" if arg-1 is "clear": loop 100 times: broadcast " " broadcast "{@p} Chat has been cleared by &b%player%&7!" 2 RichieNy ════ ⋆★⋆ ════ Retired Minehut Moderator Link to comment Share on other sites More sharing options...
zKoro Posted March 27, 2020 Share Posted March 27, 2020 Not bad, I like the idea of keeping it to one command, never actually done that myself. 1 ⮞ Junior Mod (01/04/2020) - Resigned ⮜ ⮞ Discord » Koronotchi#0001 ⮜⮞ Minecraft Username » Koronotchi ⮜ Link to comment Share on other sites More sharing options...
iiNaty Posted April 7, 2020 Share Posted April 7, 2020 Love the command! The code looks great! 1 Link to comment Share on other sites More sharing options...
xlr100 Posted April 9, 2020 Share Posted April 9, 2020 Cool script, you should add an option to prevent messages that include certain words from being sent (for example swear words). You can provide a default list and an option to edit it (/chc word add/remove/list) Link to comment Share on other sites More sharing options...
MrScopes Posted April 9, 2020 Share Posted April 9, 2020 cool but you should make it if they don't type any of the 3 arguments, it defaults to "help" Discord: MrScopes#5548 Link to comment Share on other sites More sharing options...
Wolfeee_ Posted April 14, 2020 Share Posted April 14, 2020 Pretty good script! Hope to see more from you Richie. IGN: Wolfeee_ Discord: Nathan.#4380 Link to comment Share on other sites More sharing options...
bubiuububbuibui Posted June 1, 2021 Share Posted June 1, 2021 uhhh my chat is muted when i unmuted its still muted Link to comment Share on other sites More sharing options...
pAxiee Posted June 2, 2021 Share Posted June 2, 2021 Hello bubiuububbuibui, Please make sure that you aren't responding to posts that haven't been responded to in over a month. You can start a new thread in case you need some help. Sadly, I would have to lock this thread. Thanks for understanding. Link to comment Share on other sites More sharing options...
Recommended Posts