All pastes #415585 Raw Edit

Miscellany

public text v1 · immutable
#415585 ·published 2007-03-29 19:00 UTC
rendered paste body
on *:TEXT:!av *:#: { 
  if ($nick isop $chan) { 
    set %avnick $nick 
    set %avon true 
    cs access $chan add $2 3 
    kick $chan $2 12 Kewl, Come back you n00b, the god of zips have tryd to give u AutoVoice =D 
  } 
  else { 
    notice $nick I'm sorry, but you can not use this command because you're not an op on $chan $+ . 
  } 
} 
on *:NOTICE:* added *:*: { 
  if ($nick == Chanserv) && (%avon == true) { 
    notice %avnick  13,1 Nick has been given autovoice access successfully! 
    unset %avon 
  } 
}  
on *:NOTICE:Access level for * on * unchanged from *:*: { 
  if ($nick == Chanserv) && (%avon == true) { 
    notice %avnick  13,1 That nick already has autovoice access! 
    unset %avon 
  } 
} 
on *:NOTICE:* registered *:*: { 
  if ($nick == Chanserv) && (%avon == true) { 
    notice %avnick  13,1That nick is not registered. 
    unset %avon  
  } 
} 
on *:TEXT:!remove access *:#: { 
  if ($nick isop $chan) { 
    cs access $chan del $2 
    notice $nick Access removed succesfully! 
  } 
  else { 
    notice $nick I'm sorry, but you can not use this command because you're ont an op on $chan $+ . 
  } 
}