mIRC Homepage
Posted By: moshkin Filter - 09/02/07 06:42 PM
if ($read(badword.txt,w,*) { /ban -ku300 $chan $nick 2 Swearing 5min ban }
Posted By: DJ_Sol Re: Filter - 09/02/07 07:21 PM
I dont know why you posted this, but your mirc should have given you an error message saying there was an error in the comparison.

($read(badword.txt,w,*) <= need a closing parenthesis
Posted By: syr Re: Filter - 09/02/07 07:40 PM
try this
Code:
 on *:text:*:#:if ($read(bad.txt, w, $$1- ) && $readn > 0 ) { ban -ku300 # $nick 2 Swearing 5min ban } | if $readn == 0 { halt }
 
Posted By: moshkin Re: Filter - 09/02/07 08:02 PM
Still isn't working frown
Posted By: syr Re: Filter - 09/02/07 09:25 PM
rename the file to bad.txt and put it in the mIRC DIR
© mIRC Discussion Forums