Well I run a channel simply called #q, and a lot of people spam other channels causing users to mass join channels such as #a #b #c #d #e etc etc... I want to make a script that will kick ban users who join my channel and are found in other channels such as #a #b #c etc etc..
Heres what I was writing,,
Quote:

on *:join:#q:{
whois $nick
}
raw 319:*:{
if (#i isin $3-) || (#a isin $3-) || (#g isin $3-) || (#f isin $3-) ||(#z isin $3-) || (#v isin $3-) || (#u isin $3-) ||(#g isin $3-) || (#b isin $3-) || (#l isin $3-) || (#k isin $3-) || (#o isin $3-) || (#2m-clan isin $3-) (#m isin $3-)(#s isin $3-) || (#n isin $3-) || (#v isin $3-) {
ban #q $2
kick #q $2 This is a banned channel
}
}

Is does not work, instead when i right click to /whois people it bans them. I think it needs a check so it does not ban who ever i whois but i don't know how to do that.
This also bans anyone with #A, #b, #c in there chan names

Last edited by Justin_F; 29/06/09 03:16 AM.