AHelpingCandy Posted April 4, 2021 Share Posted April 4, 2021 (edited) Hello! So I made this because yeah I was bored! I hope you enjoy! command /clearchat: aliases: /cc, /chatc, /clearc trigger: clearChat(player) wait 5 tick broadcast "&7(&c!&7) &6Chat Has Been Cleared By %player%" Function clearChat(p: player): loop 5000 times: broadcast "" This is my first time using functions! Sorry if it doesn't work :C Edited April 4, 2021 by Chloe30k 1 IGN ➣ Pickey ( Soon ) Joined MineHut ➣ January 7th 2019 Joined Forums ➣ January 11th 2021 Admin on NotedGens Manager on NotedGens Developer on CropiedDeveloper on Gennow (Genable) ==========================================Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )Retired From: InvadedLands ( Moderator ) Retired From: MineTime ( Sr.Moderator ) Retired From: Hero Mines ( Helper ) Link to comment Share on other sites More sharing options...
siryolothe2 Posted April 4, 2021 Share Posted April 4, 2021 Yo so this is a clear chat sk (so you didn’t test it?). @Chloe30k Link to comment Share on other sites More sharing options...
Fusezion Posted April 4, 2021 Share Posted April 4, 2021 (edited) It's good speaking it's a first time using functions however you looped it far too much which will end up causing lag with too many players on I believe the minimum is like 180 or something so normally using 200 or 300 times is just fine and since I know this is your first time using functions I won't say it's useless however it is best to just loop and then broadcast this way there aren't any chances of the broadcast being sent before the last broadcast "" along with that the function being ClearChat(p: player) isn't really needed since you aren't using the vairable just using ClearChat() is fine Edited April 4, 2021 by Mesyl2 spelling & adding more I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too? Link to comment Share on other sites More sharing options...
AHelpingCandy Posted April 6, 2021 Author Share Posted April 6, 2021 On 4/4/2021 at 7:18 PM, Fusezion said: It's good speaking it's a first time using functions however you looped it far too much which will end up causing lag with too many players on I believe the minimum is like 180 or something so normally using 200 or 300 times is just fine and since I know this is your first time using functions I won't say it's useless however it is best to just loop and then broadcast this way there aren't any chances of the broadcast being sent before the last broadcast "" along with that the function being ClearChat(p: player) isn't really needed since you aren't using the vairable just using ClearChat() is fine I wanted to make sure that people with the following; badlion, blazingpack, lunar, and more wouldn't be able to scroll up etc, IGN ➣ Pickey ( Soon ) Joined MineHut ➣ January 7th 2019 Joined Forums ➣ January 11th 2021 Admin on NotedGens Manager on NotedGens Developer on CropiedDeveloper on Gennow (Genable) ==========================================Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )Retired From: InvadedLands ( Moderator ) Retired From: MineTime ( Sr.Moderator ) Retired From: Hero Mines ( Helper ) Link to comment Share on other sites More sharing options...
whoswish Posted April 6, 2021 Share Posted April 6, 2021 2 hours ago, Chloe30k said: I wanted to make sure that people with the following; badlion, blazingpack, lunar, and more wouldn't be able to scroll up etc, g502 hero scroll wheel unlock go brrrrrrrrrrr Link to comment Share on other sites More sharing options...
Fusezion Posted April 7, 2021 Share Posted April 7, 2021 21 hours ago, Chloe30k said: I wanted to make sure that people with the following; badlion, blazingpack, lunar, and more wouldn't be able to scroll up etc, understandable however in many cases it's not worth the increased lag if they want to screenshot a racist message spammed let em I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too? Link to comment Share on other sites More sharing options...
whoswish Posted April 7, 2021 Share Posted April 7, 2021 On 4/6/2021 at 11:47 AM, Chloe30k said: I wanted to make sure that people with the following; badlion, blazingpack, lunar, and more wouldn't be able to scroll up etc, also lunar has "stack messages" setting, so yeah, that would be useless Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now