Jump to content

ClearChat Skript!


xp69

Recommended Posts

#skript made by xp69. Make sure to give Credit when Using!

command /clearchat:
    permission: clearchat.use
    permission message: "&cYou do not have the Required Permission to Perform this Command!"
    trigger:
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        broadcast ""
        wait 5 ticks
        broadcast "&c&l(&r&aCLEARCHAT&c&l) &8- &r&b%player% has Cleared Chat!"

-----------------------------------------------------------------------------------------------------

i know this thing takes up a lot of space but i couldn't figure out how to repeat the ' broadcast "" ' (blank) times becuase it just says "&c&l(&r&aCLEARCHAT&c&l) &8- &r&b%player% has Cleared Chat!" (blank) times lol.

Link to comment
Share on other sites

command /clearchat:
    permission: clearchat.use
    trigger:
        loop 100 times:
            send " " to all players
        send "Chat has been cleared by %player%." to all players

-----------------------------------------------------------------------------------------------------------------------

Try This!

Link to comment
Share on other sites

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...