instead of setting 2 Variables why not just one.
and have this
then you can use this
on *:RAWMODE:#:{ if (%status == $null) { return }