you cant have more than one ON *:TEXT: in a file, you should however try and group your same work into one event

maybe use this as a start...
Code:
 
on *:TEXT:*:#: {
  echo -s ON TEXT EVENT IN CHANNEL @ $time
  echo -s Nick : $nick 
  echo -s Channel : $chan
  echo -s Text : $1-
}
 

from seeing them you can work out what you need to do to take what action you want.