on 1:INPUT:*:{ if (/ != $left($1-,1) { if (%happy isin $1-) { msg $active $replace($1-, %happy, %happyc) | halt } } }