you set a var with all channels that you want to trigger the event /set %channels #mirc;#scripting;#sex;#teens;#xD
Then:
Code:
ON @shitlist:JOIN:#:{
if ($istok(%channels,$chan,59)) {
;you can use if ($chan isin %channels) I prefer to use $istok, for more accurace
ban # $ulist($maddress,1)
kick # $nick $iif($ulist($maddress,1).info,$ifmatch,shitlisted)
}
}
I donĀ“t test if the code works, I only edit the code you paste
Save the channels to be kicked from in %vars or a hash table. %slist.[color:blue]*!*@*.aol.com [color:Darkslateblue]#channel1 #chanel5 #another[/color][/color]
Code:
on @shitlist:JOIN:#:{
if $istok(%slist. [ $+ [ $maddress ] ],#,32) {
ban # $maddress
kick # $nick $iif($ulist($maddress).info,$ifmatch,shitlisted)
}
}