Ahh shit i see what they mean now. Preferably, the bot should be coded to strip out colours from the input commands using $strip, but you could edit the following line:
if (!$regex($1,/^\//)) && (c !isincs $chan($chan).mode) {
to
if (!$regex($1,/^[@!.'§]/)) && (c !isincs $chan($chan).mode) {
which will ignore any sentences that begin with anything within the [] brackets. in the second code case it would ignore the following: /@!.'§