If this is only for one event, you can save yourself an alias. Why all the global variables and the else statement? This is a lot cleaner and easier to look at:
on *:TEXT:*:#:{
var %s = 1, %f = badwords.txt
while (%s <= $lines(%f)) {
if ($read(%f,n,%s) isin $1-) {
; your command here
}
inc %s
}
}
There may be one that also has a message tag before the ban, for example to read the line. Txt and that if a usuer types a lienea him a warning and if you type another line badword.txt him one last warning before the bankick.
Thank you in advance and happy new year
P.D: Written from the google translator.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.
There may be one that also has a message tag before the ban, for example to read the line. Txt and that if a usuer types a lienea him a warning and if you type another line badword.txt him one last warning before the bankick.
Thank you in advance and happy new year
P.D: Written from the google translator.