Jump to content

Clear Chat


Recommended Posts

hello,

i was wondering if you can help me with this. I wanted to make a command that clears chat completely this is the skript i used:

 

 

command /clearchat [<text>]:
    permission: staff.clear
    permission message: &cYou may not execute this command!
    trigger:
        if arg-1 is not set:
            send "&cUsage: /clear chat"
        if arg-1 is "clear":
            broadcast ""
            broadcast ""
            broadcast "&bNoSenge"
            broadcast "&c%player% &7has just cleared the chat!"
            broadcast ""
            stop

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...