on *:TEXT:@clvl *:#:{
if ($me == AvidServ) && ($chan == #Avidbots) {
if ($readini(userlist.ini,$chan,$nick) <= $3) && ($readini(userlist.ini,$chan,$nick) != $null) && ($readini(userlist.ini,$chan,$2) != $null) && ($readini(userlist.ini,$chan,$nick) >= $readini(userlist.ini,$chan,$nick)) && ($3 isnum) {
writeini userlist.ini $chan $2 $3
notice $nick I have changed $2 $+ 's level to $3 $+ .
}
elseif ($readini(userlist.ini,$chan,$nick) => $3) {
notice $nick Silly bear you can not add a user higher then your own access
}
elseif ($readini(userlist.ini,$chan,$nick) == $null) {
notice $nick You do not have any access
}
elseif ($readini(userlist.ini,$chan,$2) == $null) {
notice $nick I can not find $2 in my database
}
elseif ($readini(userlist.ini,$chan,$nick) => $readini(userlist.ini,$chan,$nick)) {
notice $nick You can not change someones level that has higher access then you!
}
elseif ($3 !isnum) {
notice $nick Silly bear you cant change someones access if it isnt A number
}
}
}