When you use/guser level nick mIRC looks up the user and adds them with a masktype of 6 (See /help $mask). You are not specifying that masktype in the ruser command.
on *:text:!addauth*:#channel:{
- if ($ulevel == 11) {
guser -a $2 $$3
msg $chan $3 has ben added auth lvl $2 on XsN|Bot
}
}
on *:text:!removeauth*:#channel:{
- if ($ulevel == 11) {
ruser $$2 $3 6
msg $chan Auth lvl $2 has been removed from $3
}
}
There isn't a need to check if $1 == !addauth/!removeauth as they are the triggers