on *:INVITE:#: {
if ($readini(blacklist.ini, Chans, $chan )) || ($readini(blacklist.ini, Nicks, $nick )) || ($readini(blacklist.ini, Addresses, $mask($fulladdress,3) )) {
notice $nick Your nick/channel is on my blacklist. $logo
if ($readini(blacklist.ini,,Chans,$chan) {
notice $nick Channel " $+ $chan " blacklisted for reason: $ifmatch
}
if ($readini(blacklist.ini,,Nicks,$nick) {
notice $nick Nick " $+ $nick " blacklisted for reason: $ifmatch
}
if ($readini(blacklist.ini,,Addresses,$address($nick,3)) {
notice $nick Address " $+ $address($nick,3) " blacklisted for reason: $ifmatch
}
halt
}
else {
join $chan
.timer 1 2 msg $chan $botlogo invited to $chan by $nick $+ . To make me leave, simply type ~leave. To view a list and description of my commands, type !commands. For many of my commands to work, I must be halfopped or higher.
}
called
}