i try to ignor the group of chatter with ip constance 162,
but it don't work on my
on *:open:?: {
msg $nick Sorry I'm a ROBOT
if (162 isin $address($nick,2)) { .ignore -pu10 $nick }
}
i also try isnum, but it still not work too .
any one can help me please
your script not work too Dana
i just want to ignore the group of ip like 203.162.32.49
i want to try if ( 203.162 iswm $address)
but it do notthing, seem to me the if ( 203.162 iswm $address) is doing notthing
It's important to keep the *. iswm stands for is wildcard match for. Please copy & paste the script, exactly as I gave it, into its own remote file. Also, I believe I specified $fulladdress and not just $address.
Dana's script worked for me, but only the first time as it leaves the query window open, so if you recieve another message while the window is still open it doesn't do the ignore command again. You can put the line "window -c $nick" after the ignore line to fix that.
wow it work now
thanks to Dana and Collective
best wish to both of you on the new year
Either
window -c $nick or just
halt (which prevents the window opening to begin with).
on *:OPEN:?:*:{
.msg $nick Sorry, I'm out getting my circuits rewired.
if ($istok($site,162,46)) ignore -pu10 $nick 4
window -c $nick
halt
stop
enough already!
}