bad host - protection script - 03/04/03 01:16 PM
on *:join:#:{
if ( $address($nick,4) == $read(badhosts.txt) ) { kick $chan $nick Bad Host }
else { mode $chan +v $nick }
}
Is wrong ... but I don't see where it goes wrong ... the syntax is correct I think ...
If a user joins, and his host is in the badhosts.txt he should be kicked ... that's what I'm trying to do
if ( $address($nick,4) == $read(badhosts.txt) ) { kick $chan $nick Bad Host }
else { mode $chan +v $nick }
}
Is wrong ... but I don't see where it goes wrong ... the syntax is correct I think ...
If a user joins, and his host is in the badhosts.txt he should be kicked ... that's what I'm trying to do