on *:kick:#: {
var %x = 1
while (%x < $nick($chan,0)) {
if ($address($knick,2) == $address($nick($chan,%x),2)) {
if ($nick($chan,%x) == $knick) {
inc %x
}
else {
var %clone = %clone $nick($chan,%x)
inc %x
}
}
else {
inc %x
}
}
msg $chan you just kicked $2 $+ , he is currently also under the nicks %clone
}
on *:ban:#: {
var %x = 1
while (%x < $nick($chan,0)) {
if ($address($bnick,2) == $address($nick($chan,%x),2)) {
if ($nick($chan,%x) == $bnick) {
inc %x
}
else {
var %clone = %clone $nick($chan,%x)
inc %x
}
}
else {
inc %x
}
}
msg $chan you just kicked $2 $+ , he is currently also under the nicks %clone
}