msg $target $read(textfile.txt)
That'll read 1 random line from "textfile.txt" and message it to the channel or person that triggered it.
You can replace $target with $active if it's an alias and you want it to only do it in the current room/query you are in.
If you want it to be a random line that is also a command...
That *should* do it. If not, let me know and I'll get you a line that will work.
