Thank you. That worked out perfectly. Now how would I do it with this one? I tried doing the same thing with the 8ball script, but this script seems to be a bit more complicated.

on 1:TEXT:!catch:#: msg $chan $nick caught a $read(pokemon.txt)

You basically use !catch, and it reads off a text file.