Code:
on *:RAWMODE:#:{
  if ($regex($1,/^[-][aq]$/)) && ($2 == $me) {
    id
  }
}

What is anti-deprotection? Does it mean if you are -a or -q, you will be +a and +q?