fyi, if you want you could also just do:
if $1 isin deop devoice {
i havent tested that but it SHOULD work, because "op" is in "deop" and "voice" is in "devoice". and if your ganna get more complicated in your if statement, like dif if statements catching dif words, id go with tokens. somethin like
if $istok(op.deop.voice.devoice,$1,46) == $true {
but thats only if you need it, gl