this removes regular banmask set on irccloud users and replaces with ident ban since many irccloud users have clone hosts ( some actually have uid in host as well but since some dont i decided to make this small code that bans ident instead since all irccloud users have UID in ident )
by DesertFish.
ON *:BAN:#:{
if ($nick(#,$me,@%&~)) {
if ($regex($banmask,/(.*mibbit.com|.*irccloud.com|.*kiwiirc.com|192.184.9.108|192.184.9.110|192.184.9.112|192.184.8.73|192.184.10.9|192.184.10.118|107.161.19.109|207.192.75.252|64.62.228.82|78.129.202.38|87.98.219.117|107.161.19.53|109.169.31.4|109.169.29.95|195.154.53.5|195.154.52.250|212.83.148.225)/i)) { mode $chan -b $banmask }
if ($istok(*!*@* *!*@.* *!uid*@* *!*uid*@* *!*sid*@* *!sid*@* *!~uid*@* *!*~uid*@* *!~sid*@*,$banmask,32)) { mode $chan -b $banmask }
}
}
ON ^*:KICK:#:{
if ($nick(#,$me,@%&~)) {
if ($regex($gettok($address($knick,2),2,64),/(.*mibbit.com|.*irccloud.com|.*kiwiirc.com|192.184.9.108|192.184.9.110|192.184.9.112|192.184.8.73|192.184.10.9|192.184.10.118|107.161.19.109|207.192.75.252|64.62.228.82|78.129.202.38|87.98.219.117|107.161.19.53|109.169.31.4|109.169.29.95|195.154.53.5|195.154.52.250|212.83.148.225)/i)) {
mode $chan +b $+($gettok($address($knick,0),1,64),@*)
}
}
}
because you cant determine whows ident to use the kick event determines that