o yea, i totally forgot about ur not using full names :P
but then couldnt you do if (%qaohvopnix ison $chan) ?