Someone
public text v1 · immutableon *:TEXT:BADWORDS*:?: {
if ($3 == add) {
write Badword.txt $2 $4
notice $nick $+($chr(2),$4,$chr(2)) added to $2 bad words list.
}
if ($3 == del) {
write -ds $+ $2 $4 Badword.txt
notice $nick $+($chr(2),$4,$chr(2)) deleted from $2 bad words list.
}
if ($3 == clear) {
write -c Badword.txt
notice $nick Bad words list is now empty.
}
if ($3 == list) {
notice $nick Bad words list for $2 $+ :
notice $nick $x
}
}