_Dean_ commented on a Page, Bad Word Detection Engine (Using Socket)  -  Oct 17, 2011

as i said, i dont know why make simple things looks hard
by the way, i didnt understand why you use /set -e
and then use /unset %1* on the sockread event, since the /set -e will unset when mIRC close, whats the meaning of use -e so?

a doubt...
you have used 2 different variables, i didnt test the code yet
but why didnt you use just one set and then tokenize the %1-?

 set %1- $+($strip($1-),^,msg # $nick No Swearing Please!)

and then

tokenize 94 %1-

the code will kick OPs too, in this case, it will probably cause a kick revenge war on the room, if the bot kicks OPs

my advice is put an on load event, that will catch all the badwords, and then saves the file, instead open a socket everytime someone talks

 Respond  
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.