Ah, now I get what you were doing...
Looks much better, but missing a bracket at the end.
Also: What I said about putting a period in front of a command to "silence" it, if you look at a channel the bot said something, you won't be able to see it (through the bot's perspective); but other users can see it, so it's okay.
For the on load, instead of putting /write prizes.txt, you can /var them and then write each of them to it without the repetitivity.
on *:load: { var %p = Cheerwine|Twix|Pepsi|Dr. Pepper|7 Up|Hershey's Chocolate Bar | tokenize 124 %p | write jokes.txt $* }