i think mike had it right but perhaps you are dealing with an action ?
Code:
 
on *:ACTION:*:#: {
 if (I like dogs iswm $1-) {
msg $chan Excuse me $nick $+ $chr(44) but cats are better! 
}
if ($1 == hi) {
msg $chan Hi $nick $+ $chr(44) how are you!? 
}
}