someone gets ~ when chanserv gives them +q, so:
if ($nick($chan,$nick,q)) echo -a *** they are mode ~
if ($nick($chan,$nick,~)) echo -a *** they are mode ~
It seems to let you use q and ~ interchangeably.
+a gives them mode &
Note that isop seems to cover people having mode @ or & or ~, so if you want only the @ level, $nick($chan,$nick,o,aq)