if you have another ON TEXT event anywhere in the script file, regardless of what it's looking for, only the first one will work. By your response, it SOUNDS like you have a 2nd ON TEXT event looking at different match. If that's true, you'd have to combine them into ONE event:
on *:text:*:#: {
if ((chan1 == #channel) && (text-to-match1 == text1) { stuff1 }
if ((chan2 == #channe2) && (text-to-match2 == text2) { stuff2 }
}