A very simple buzzen guest kick using GuestGate as the trigger.
Remove the access add deny and kick to just tell them to register.
Simply coded for learning purposes. No credit is required for the use of this snippet as it is very generic code. It includes a very simple flood protection.
on ^*:JOIN:#: {
if (%gflood > 4) halt
if ($nick != $me) && ($me isop $chan) && (GuestGate isin $address($nick,1)) {
inc -u2 %gflood
/msg $chan $nick Please register your nick at http://www.buzzen.com/passport/reg.php
access $chan add deny $address($nick,1) 15 : guest ban by $me
kick $chan $nick Please register your nickname
}
}
Feel free to refine the code or post your own examples.