hi my bot that am making says this

on 1:op:#:/msg $chan Thanks $nick We need more Operators in here ...................Please Welcome one of our Operators
on 1:deop:#:/msg $chan Ok am not even ging to ask you why $nick .......................If you lost it you know theres a reason!

ineed to know what to put in place of op so i can make it say stuff for +a and +q
i have voice and device
i take it halfop is hop and dehop?
or is it halfop and dehalfop?

any help would be great thanks