on *:invite:#: {
if ($readini(kicks.ini,chans,$chan) == 4) {
part $chan Blacklisted.
msg $nick $chan is on my blacklist.
}
elseif ($readini(kicks.ini,chans,$chan) != $null) {
join $chan
.timer 1 1 msg $chan Hey...RedBull came! I've been invited here by $nick , To find out more about this bot join #market. $&
You can type *commands for a list of commands and *rules for list of rules. If you would like to make me leave type *part. $&
Only Half-op's & OP's can use this command. 4 kicks = Blacklist, $calc(4 - $readini(kicks.ini,chans,$chan)) more kicks until $&
the channel is blacklisted.
}
else {
join $chan
.timer 1 1 msg $chan Hey...RedBull came! I've been invited here by $nick , To find out more about this bot join #market. $&
You can type *commands for a list of commands and *rules for list of rules. If you would like to make me leave type *part. $&
Only Half-op's & OP's can use this command. 4 kicks = Blacklist
}
}
on *:KICK:#:{
if ($knick == $me) && ($readini(kicks.ini,kicks) == $null) {
writeini kicks.ini kicks $chan $calc($readini(kicks.ini,kicks,$chan) + 1)
if ($readini(kicks.ini,kicks,$chan) >= 4) {
writeini kicks.ini chans $chan $chan
}
}
}