ah the good old days of skript. python in gcse comp sci lessons is boring me, although making a machine learn how to recognise me with a creeper hat on is pretty entertaining
I've always thought that a themed server, like a star wars battlefront remake or something like that would be cool (credit to ImperialWZ for the dope idea :))
Here are the rules:
Has to be about Minehut
You may only comment 1 word to contribute to the song.
If you want to start a new line for the song, put a period after your word.
Don't post twice unless someone else has put a word after yours. Lets see what Minehut can make
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!
I dont want to be interfering but you are being quite rude to this person who has just made you a skript, instead of saying "smh" and blaming it on them why don't you try to investigate the errors yourself?