Centrect Posted June 21, 2021 Share Posted June 21, 2021 hey look its another script that i made so this script is a chat filter, you can add it to your server with no addons needed and it will work! script is fully customisable and can work without causing lag options: #CONFIG prefix: &a✔ no-prefix: &8✖ permission: staff on chat: loop {filterswear::*}: if message contains loop-value: cancel event send "{@no-prefix} &cYou cannot send that here" send "&7[FILTER] &8%player% &7%message%" to all players where [input has permission "{@permission}"] command /filter [<text>] [<text>]: permission: op trigger: if arg-1 is "add": if arg-2 is set: if {filterswear::*} does not contain arg-2: add arg-2 to {filterswear::*} send "{@prefix} &7Added %arg-2% &7to the swear filter." stop else: send "{@no-prefix} &cThat word is already blocked!" stop else: send "{@no-prefix} &cSupply a word to filter!" stop if arg-1 is "remove": if arg-2 is set: if {filterswear::*} contains arg-2: remove arg-2 from {filterswear::*} send "{@prefix} &7Removed %arg-2% &7from the swear filter." stop else: send "{@no-prefix} &cThat word is not blocked!" stop else: send "{@no-prefix} &cSupply a word to unfilter!" stop if arg-1 is "list": send "&cThe filtered words are: &7%{filterswear::*}%" stop else: send "{@no-prefix} &cUnknown argument" stop Enjoy! 3 Twitch Affiliate, YouTuber and Minehut Content Creator (100,000+ Combined Views, 1,100+ Combined Followers & Subs, 20,000+ Combined Unique Players) IGN:[YOUTUBE] Centrect➤ Please don't DM me for support, go here or join Minehut's Discord if you need assistance. Link to comment Share on other sites More sharing options...
awel Posted June 21, 2021 Share Posted June 21, 2021 Nice skript! Invislol ♥• 4-5 years of skript experience • 6 Months of active java experience • 2 Years of javascript and python experience[PATRON] RANKHelpful Stuff: Appeals and Reports - Here | Minehut Global And forums rules - Here Link to comment Share on other sites More sharing options...
Centrect Posted June 22, 2021 Author Share Posted June 22, 2021 Thanks! Twitch Affiliate, YouTuber and Minehut Content Creator (100,000+ Combined Views, 1,100+ Combined Followers & Subs, 20,000+ Combined Unique Players) IGN:[YOUTUBE] Centrect➤ Please don't DM me for support, go here or join Minehut's Discord if you need assistance. Link to comment Share on other sites More sharing options...
_Tarna_ Posted June 22, 2021 Share Posted June 22, 2021 Nice skript but you can remove all those stop since you are using else and they aren't needed. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
ItsKirby Posted June 23, 2021 Share Posted June 23, 2021 Works really well! I suggest to add a simple help command addition and/or a option to change the filter message. But those are just some things that I can do myself. Yo who actually reads these [Vip] - 12/29/2020[Pro] - 1/25/2022 Link to comment Share on other sites More sharing options...
xxs_xxs Posted August 31, 2021 Share Posted August 31, 2021 How do i apply this to my server Link to comment Share on other sites More sharing options...
emopediaMC Posted September 1, 2021 Share Posted September 1, 2021 8 hours ago, xxs_xxs said: How do i apply this to my server Please don't comment on posts older than one month. That is called necroposting and is against the forums rules. Could a mod lock this? Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
Flippy404 Posted September 1, 2021 Share Posted September 1, 2021 22 hours ago, xxs_xxs said: How do i apply this to my server Please don't reply to posts that haven't been responded to in over a month. I would be locking this thread now, you can start a new thread in case you need some help. Thanks! 13 hours ago, emopediaMC said: Please don't comment on posts older than one month. That is called necroposting and is against the forums rules. Could a mod lock this? No need to reply to this post to tell them not to necropost, you may just report it to us so we can see it immediately! Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts