Well, any number of things can have changed of course.

Something may have accidentally been changed in the script, e.g. insertion of a letter/number, a bracket mismatch, etc.

It's also possible that one of the variables used by the script was accidentally removed (unlikely to affect the script after reloading) or set to an unusable value.

My advise is to use /debug to see if the script responds with anything, and most of all to add debugging code to the script. For instance, look for the on TEXT event which (I assume) responds to !trivia and add an /echo in the code to see if it is triggered. You keep doing this further down in the code until the echo suddenly doesn't show up anymore.