No Banning!!!!!!!

By Chevy on Apr 12, 2007

Its simple load it up in remotes and ready to go if one of your users bans a member it auto bans them for a time period you can switch the times if you want too.and the colors for the ban/kick.
-Tested-

on *:BAN:#CHANNEL: { 
  if ($nick == $me) || ($nick == Chevy) { 
    halt 
  }
  else { 
    mode #CHANNEL -o $nick
    ban -ku90 #CHANNEL $nick BANNED FOR 90 SECCONDS. Next time dont ban :)
    /cs $chan delban $bnick 
    /cs $chan deluser $nick 
    /msg $nick [[^B][^U]AUTOMESSAGE[^B][^U]] You may come back now u have been unbanned :
    msg $chan i said dont ban any1 :)
    mode #CHANNEL -o $nick
    ban -ku90 #CHANNEL $nick BANNED FOR 90 SECCONDS. Next time dont ban :)
  }
}

Comments

Sign in to comment.
Bouncer   -  Apr 12, 2007

A couple things first. Why the ban command twice? And /cs commands don\'t work on chatspace bro. And you might want to take out where it says Chevy and just put (nick) or something and tell people in your intro to change that to their nick or do as Lindrian suggested and use:
on !@*:BAN:#: {
if ($bnick == $me) || ($banmask iswm $address($me,5)) {
;commands
}
}
2/10 from me.

 Respond  
Solo   -  Apr 12, 2007

its not very fair to give people such incompetent scripts to use.

 Respond  
Lindrian   -  Apr 12, 2007

i would use:
on !@*:BAN:#: {
if ($bnick == $me) || ($banmask iswm $address($me,5)) {
;commands
}
}

 Respond  
xDaeMoN   -  Apr 12, 2007

the \"#CHANNEL\" inside the event can just be \"$chan\" so whoever will be using the code will only change #CHANNEL once.

$bnick will only return a value of the nick was included in the ban mask. Just FYI.

Also put a check if the user of the code is an OP.

 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.