Protection
Posted by krazie
Sunday, March 07, 2004
Description: Safe for you

on @*:ban:#recruit2:{
  if ($me isop $chan) && ($nick != $me) && ($nick != Chanserv) {
    mode $chan -bo $banmask $nick
  /timer 1 3 chanserv $chan tb $nick 300 Don't Abuse your ops in #recruit2 - Go sit in a Timeout }
}
on @*:kick:#recruit2:{
  if ($me isop $chan) && ($nick != $me) && ($nick != Chanserv) {
    mode $chan -bo $banmask $nick}
  /timer 1 3 chanserv $chan tb $nick 300 Don't Abuse your ops in #recruit2 - Go sit in a Timeout }
}
on @*:deop:#recruit2:{
  if ($me isop $chan) && ($nick != $me) && ($nick != Chanserv) {
  /timer 1 3 chanserv $chan tb $nick 300 Don't Abuse your ops in #recruit2 - Go sit in a Timeout }
}



Replace #Recruit2 to #YOURCHAN



^_^
hm?
Posted by dirtySanchez
Tuesday, March 09, 2004 08:17pm PST
are you sure that would work?

that would kick the person who said 'kick', and ban the person who said 'ban' and so on.  and you have $nick} touching eachother.  and all of the things do the same thing, which is temporarily ban the person.  im sorta confused on this snippet.
Subject line
Posted by pope
Sunday, June 10, 2007 09:29am PDT
errrmmm dirtySanchez? i dont see an 'on text' up there.. i see an 'on kick' tho... looks ok to me besides the '$nick}' it should be '$nick }' AND put all if your if-then comparisons into another set of parentheses.. it should look like: 'if (($me isop $chan) && ($nick != $me) && ($nick != Chanserv)) {'. also im not sure what 'tb' does in the timer. :/
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world