Suggesting a wasop operator to be used in on OP events. For example:

on 10:OP:#XMech:{
if ($me wasop $chan) { halt }
else { ... }
}

This operator could be used to check if the user was already opped before the on OP event triggered, so as to only trigger if the user's old status was R and the user's new status is O. This cannot be done with isop.

Comments?

-- [email]darkfire@dalnet[/email]