i think mike had it right but perhaps you are dealing with an action ?
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!?
}
}
I think mike and cheech have it right too
cept you are having a problem indicating what you really mean.
What you meant to tell us, is it's an autoresponse to what someone says to you through a private message (pm) or query window.
in which case, if you try the following, I believe you'll find it to work for you.
;note the use of the ? instead of the #
;? means in the private message window
on *:TEXT:*:?: {
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!?
}
}