You could have just done this and saved some time (I haven't tested it myself yet, but I'm pretty sure it should work) :
on :input::{
if ( $1 == +v ) { mode $chan +v $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == -v ) { mode $chan -v $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == +h ) { mode $chan +h $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == -h ) { mode $chan -h $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == +o ) { mode $chan +o $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == -o ) { mode $chan -o $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == +a ) { mode $chan +a $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == -a ) { mode $chan -a $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == +q ) { mode $chan +q $2 } $msg $chan $2 You can't tell me what to do, Fool.
if ( $1 == -q ) { mode $chan -q $2 } $msg $chan $2 You can't tell me what to do, Fool.
}