All pastes #503753 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-23 00:35 UTC
rendered paste body
on *:text:!av*:#Thepc,#Thepc.staff,#thepc.verify:{ 
  if ($nick == $me) || ($nick == KillerSkull) { HALT } || ($nick isop $chan) || ($nick ishop $chan) { { 
      writeini autov.ini autojoin $address($2,2) $2- 
      mode #thepc +v $2
      inc %voiceonlist 1
  if ($readini(onoff.ini,av,av) == off) { HALT } 
      notice $nick  $2 is added to autovoice list under address: $address($2,2)     
    } 
  } 
}
on *:JOIN:#Thepc: { 
  if ($readini(autov.ini,autojoin,$address($nick,2))) {
    mode #Thepc +v $nick 
  } 
}


on *:text:!deav *:#Thepc,#Thepc.staff,#thepc.verify:{ 
  if ($nick isop $chan) || ($nick ishop $chan) { 
    remini autov.ini autojoin $address($2,2) $2- 
    dec %voiceonlist 1
    mode #Thepc -v $2  
    if ($readini(onoff.ini,av,av) == off) { HALT } 
    notice $nick 4 $2 Was Removed From The AutoVoice List!
  }
}