I saw there was a 'guest' kicked here on hawkee, i thought i might post my own version I use.
Althought I tried making it more user friendly.
Simply put the script in a new page in your remotes. (Alt + r)
Type the cmd /check.nicks in your active channel window, to 'scan' it for the badnicks.
on *:start: {
if !%option { echo -st 4Please input a option for the bad nick trigger. Type //set % $+ option kick for it to kick, or anything else to leave it as default (ban). If nothing is input the ban option will be used. }
if !%trigger { echo -st 4Please choose a trigger for the badnicks, or the default "guest" will be used. Change it by doing the following: //set % $+ trigger <trigger here> }
}
alias check.nicks {
if $nick($chan,$me,oh) && $active ischan {
var %i = 1, %z = $nick($chan,0)
while %i <= %z {
if $wildtok($nick($chan,%i),$+(*,$iif(%trigger,$v1,guest),*),1,32) && $nick($chan,%i) != $me {
$iif(%option == kick,$v2,ban -k) $chan $nick($chan,%i)
}
inc %i
}
}
}