It appears MSN decided to make a change so specs could join all rooms without being kicked. I am aware Dave has one that works for GuarDDog, but I made this one so that it will work for all scripts. It appears to work just fine and kicks as quick as a sockwrite if you ask me. Let me know if there are any bugs to be worked out.
;;;;;;Spec Kicker by Mail;;;;;;
menu channel {
Spec Kicker ( $+ $group(#spec) $+ )
.$iif($group(#spec) == on,$style(2),$style(0)) On: .enable #time | echo -a 0,12No Spec kick $+ 0,94 On
.$iif($group(#spec) == off,$style(2),$style(0)) Off: .disable #time | echo -a 0,12No Spec kick $+ 0,4 Off
}
#spec on
on @*:JOIN:#: {
if ($nick == $me) || ($nick isop $chan) { halt }
hadd -m Spec Nick $nick
hadd -m Spec Address $address
hadd -m Spec Chan $chan
ctcp $hget(Spec,Nick) TIME
if ($hget(Spec)) { timer.undo 1 15 hfree Spec }
}
on @*:KICK:#: {
if ($hget(Spec)) {
access # add deny $hget(Spec,Address) 60
}
}
raw 908:*:{
kick $hget(Spec,Chan) $hget(Spec,Nick) -=[Subscribers Only]=-
}
#spec end