mIRC Home    About    Download    Register    News    Help

Print Thread
#170487 09/02/07 06:42 PM
M
moshkin
moshkin
M
if ($read(badword.txt,w,*) { /ban -ku300 $chan $nick 2 Swearing 5min ban }

#170490 09/02/07 07:21 PM
Joined: Jan 2007
Posts: 1,155
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,155
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

DJ_Sol #170495 09/02/07 07:40 PM
S
syr
syr
S
try this
Code:
 on *:text:*:#:if ($read(bad.txt, w, $$1- ) && $readn > 0 ) { ban -ku300 # $nick 2 Swearing 5min ban } | if $readn == 0 { halt }
 

#170499 09/02/07 08:02 PM
M
moshkin
moshkin
M
Still isn't working frown

#170504 09/02/07 09:25 PM
S
syr
syr
S
rename the file to bad.txt and put it in the mIRC DIR


Link Copied to Clipboard