He forgot that you should use a double-digit colour, to avoid problems with text starting with numbers. Also, a correction: "#,?" doesn't work there (at least not here).
Code:
on *:INPUT:*:{
if ($istok(channel query chat,$window($active).type,32)) && (/* !iswm $1) && ($readini($mircini,text,commandchar) $+ * !iswm $1) {
msg $active 14,01 $+ $1-
halt
}
}