rendered paste bodyon *:NOTICE:*:?: {
if ($nick == ChanServ) && (denied isin $1-) { set %allowed no | set %registered no
msg %channotice *0,4 Error 4,0 Am not allowed to add anyone to access list, please assaign me an access lvl to me first; 10 or higher | halt }
if ($nick == ChanServ) && (registered isin $1-) { set %allowed yes | set %registered no
msg %channotice *0,4 Error 6,0 %nick 4is not a registered nickname, please register first.6 %nick $+ 4 $+ : type 5/ns register pass e-mail@here.com | halt }
if ($nick == ChanServ) && (level isin $1-) { set %allowed yes | set %registered yes
msg %channotice 4,0Added6 %nick 4to %action list, requested by7 %noob }
unset %nick | unset %channotice | unset %action | unset %noob
}
on $*:text:/!(av|addv|addvoice)/Si:#:{
if ($nick isop $chan) || ($nick ishop $chan) || ( $address($nick,2) == $address($me,2) ) && ($2 ison $chan) {
set %channotice $chan
set %nick $2
set %action AutoVoice
set %noob $nick
cs access $chan add $2- 3
mode $chan +v $2
Echo Trying to add $2 to $chan $+ 's access list
halt
}
elseif ($nick isop $chan) || ($nick ishop $chan) || ( $address($nick,2) == $address($me,2) ) {
notice $nick 0,4 Error 6,0 $2 4was not found in5 $chan | halt }
else { notice $nick *0,4 Error 4,0 You are not an operator. }
}