FordLawnmower, Gummo:
I sort of took your advice about .pnick, but figured a better method than parsing .pnick.
if $nick($chan,$me,%@&!~) { i has ban hammer! }
This is an undocumented feature of $nick() but its been in mIRC since version 3.x at least, and isn't going anywhere. Just never considered using it like this. (I mainly use $nick() for enumerating through the entire nicklist)