Why do i do this snippet?
answer: mIRC only allow us to check only two prefix which is operator (@) and voice (+). with this snippet, it helps me to check if the user is really a normal user without -/%/bla bla..
1) $accnick($nick,$chan) return "1" IF the nick have any access in the channel, and return "0" if don't.
2) $accnick($nick,$chan,s) return the prefix of the nick. For exmpl: @
alias accnick {
if ($3 == s) { var %num = 1 | while ($mid($prefix,%num,1)) $iif($nick($2,$1,$mid($prefix,%num,1)),return $mid($prefix,%num,1),inc %num) }
else return $iif($nick($2,$1,$prefix),1,0)
}