All pastes #629906 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-22 19:28 UTC
rendered paste body
on *:text:!avoice*:#: {
  if ($2 == on) {
    set %autovoice $+ $chan on
    msg # 4[14*4AutoVoice14*4]14 has been turned ON
  }
  else {
    if ($2 == off) {
      set %autovoice $+ $chan off
      msg # 4[14*4AutoVoice14*4]14 has been turned OFF
    }
  }
}

on *:join:#: {
  if (%autovoice [ $+ [ $chan ] ] == on) {
    /mode # +v $nick
  }
}

on $*:text:/^(!a(uto)kick)/Si:#: {
  if ($nick == Daryl|) {
    write ak.txt $address($2,2)
    write ak.txt $nick
    msg # 4[14*4AutoKick14*4]4 $2 14has been added to autokick list
  }
}

on $*:text:/^(!dela(uto)kick)/Si:#: {
  if ($nick == Daryl|) {
    write -d ak.txt $address($2,2)
    write -d ak.txt $nick
    msg # 4[14*4AutoKick14*4]4 $2 14has been deleted from the autokick list
  }
}

on *:join:#: {
  if ($read(ak.txt,w,$nick)) || ($read(ak.txt,w,$address($nick,2))) {
    /mode # +b $address($nick,2)
    /kick # $nick 4[14*4AutoKick14*4]4 $nick 14appears to be on my 4autokick list!14 if this is a mistake please join4 #Skyf 14and contact4 Daryl|
  }
}