Maybe take a different approach?
On 400:Text:*:#:{
if ($1 == op) { mode $chan +o $2 } elseif ($1 ==
quit) {
msg $chan $nick has ordered me to quit
quit
exit
}
elseif ($1 == `deop) { mode $chan -o $2 }
}
In my coding I try to avoid using pipes \"|\"
And combing all on text events into one makes it look nicer, in my view.