on *:INVITE:#: { if ($chan(0) >= 30) { notice $nick $c2($nick,I am currently full, please try again later.) halt } if ($nick($chan,0) < 4) { notice $nick You need at least two other people to keep me. } if ($readini(botinfo.ini,n,kicks,$chan) < 5) || ($readini(botinfo.ini,n,kicks,$chan) == $null) { ;msg #oxygen $+($chr(3),07,$nick,$chr(3)) has invited me to $+($chr(3),07,$chan,$chr(3)) $+ . join $chan .timer 1 2 msg $chan 12Hello! I'm4 $me $+ . 12I was invited by4 $nick $+ .12 Go to $+($chr(3),04,http://freewebs.com/****/,$chr(3)) 12to view my commands. If I am kicked4 5 12times this channel is blacklisted, kicks left: $+($chr(3),04,$iif($readini(botinfo.ini,n,kicks,$chan),$calc(5 - $v1),5),/5,$chr(3),.) 12To remove me type $+($chr(3),04,!part $me,$chr(3)) ignore -iu300 $iif($address($nick,2),$v1,$nick) } else { notice $nick You can not invite me because your channel is blacklisted, join #oxygen to get this appealed. ignore -iu300 $iif($address($nick,2),$v1,$nick) } }