napa182 commented on a Page, Badchannel kick/ban (kick sex or bad chan)  -  Aug 14, 2008

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
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.