Hi, this is my 2 job, this is a badchan proteccion, this will whois a user on join and if he on gay or sex channel this will automatic kick the user, i hope it work for u guys =)
on !*:JOIN:#: { .enable #badchan | .timerwbc 1 1 whois $nick }
#badchan off
Raw 301:*: { halt }
Raw 307:*: { halt }
Raw 308:*: { halt }
Raw 310:*: { halt }
Raw 311:*: { halt }
Raw 312:*: { halt }
Raw 313:*: { halt }
Raw 317:*: { halt }
Raw 318:*: { .disable #badchan | halt }
Raw 320:*: { halt }
Raw 338:*: { halt }
Raw 378:*: { halt }
Raw 401:*: { halt }
raw 319:*: {
if (gay isin $3-) || (sex isin $3-) {
var %t = $comchan($2,0)
while (%t) {
if ($me isop $comchan($2,%t)) {
/ban -k $comchan($2,%t) $2 2 4You not welcome for be in sex/gbad channels ((BADCHAN-PROTEC BY Lingo))
}
dec %t
}
}
halt
}
#badchan end
lol jonesy44 >:P~~ well Eugenio he was honest with u all why dont u respect that >:P~~~
and jonesy44 god gave u all men stuff then born u female so u both get with each other not tp use ur guy with guy ... then cyber -_- mate u chossed net on life >:/ .... anyway he was kidding but i used that for teaching >:P~~ (^.^)
some server's allow the use of
mode # +b ~c: #channel
to not allow users from channels you block joining ur room.
you can also cut all those halts by useing tokens maybe like
on !*:JOIN:#: { .enable #badchan | .timerwbc 1 1 whois $nick }
#badchan off
raw *:*: {
if ($istok(301 307 308 310 311 312 313 317 320 338 378 379 401,$numeric,32)) { haltdef }
if ($numeric == 318) { .disable #badchan | haltdef }
if ($numeric == 319) {
if (gay isin $3-) || (sex isin $3-) {
var %t = $comchan($2,0)
while (%t) {
if ($me isop $comchan($2,%t)) {
ban -k $comchan($2,%t) $2 2 4You not welcome for be in sex/gay channels ((BADCHAN-PROTEC BY Lingo))
}
dec %t
}
}
haltdef
}
}
#badchan end