Code:
on *:text:!fact:#yourchannel: {
  msg $chan $read(facts.txt)
}


Then, just have the facts in the file like:

The sky is blue.
The grass is green.
The sun rises in the morning.

Make sure that you change #yourchannel to the channel you want it in. If you want it for all channels, just put # without a channel name. Also, make sure you use the same filename in the script as what you stored the facts into.