Friday, October 29, 2004

ho hum...

what have i been up to? fiddling with design templates, webpage layouts blahblah. oh ya n i just did a script in irc for auto-kickban of nicks with ip addresses that don't resolve into DNS. basically it's meant to kick bots/drones.

check this out. copy it if u want, no probs.

this goes into your "remote" tab under your Scripts Editor in mIRC:


on *:JOIN:#: {
if ( # isin %safe.list.chans ) {
if ( $right( $address( $nick , 2 ) , 1 ) isnum ) {
set %tempip $mid( $address( $nick ,2) , 5)
if ( $right( $address( $nick , 2 ) , 1 ) isnum ) {
set %tempip $mid( $address( $nick ,2) , 5)
if ( $right( $address( $nick , 2 ) , 1 ) isnum ) {
set %tempip $mid( $address( $nick ,2) , 5)
if ( $findtok( %safe.list, $left(%tempip, 7), 0, 32 ) < 1 ) {
/kick # $nick bottieeeeee?
/mode # +b $address( $nick , 14 )
.timer 1 3600 /mode # -b $address( $nick , 14 )
}
unset %tempip
}
}
}
}



this goes into your Variables tab:
%safe.list 210.24 202.156 218.186 218.212 219.74 220.255 203.116 152.226 202.136 203.126 155.69 153.20 203.169
%safe.list.chans #what-ever-channel

go ahead add any channel u wish. "safe.list" are those .sg ip addresses or any other ip addresses u want to prevent from getting kicked by the script, a "just-in-case" option.

and just to say again, pls render some assistance and help me click on the ad. hahaha... i'm running dry lately. if not den little poor ol' me can't go out tt often with u fellas... :( =X

and spare me some affection if u've got any left over... dry on that too XD

No comments: