ok, the example im wanting..

in a script $2 = the command and $3 = sub command..

its NOTI on/off

I have
if ($2 == NOTI) {
if (!3) { msg $nick you need to specify }
elseif ($3 != ON) || ($3 != OFF) { msg $nick you should specify ONLY on or off }
else { ... }
}

so, in the above example, it would read as..

if ($2 == NOTI) {
if (!3) { msg $nick you need to specify }
elseif ($3 != (ON || OFF)) { msg $nick you should specify ONLY on or off }
else { ... }
}

Meaning if $3 isnt either on, or off...