yeah i thought something like that too, but for some reason it doesnt work, on *:op is only triggered during the mode change, so it returns whatever the made being set was

but the problem with that is on this server, you can set -o $nick, even if the $nick is already -o, so i was hoping there was another way(cause i already tried something like what u posted), but it doesnt look like it, so i'll have to store the ops onjoin, and do it that way...... thanks anyway(perhaps an idea for something to be added to the next version of mirc: $lmode($nick,$chan) to return the previous mode for that user befor the last mode change on that user)