I’ve added another script to my twitch GitHub here:
mirc_script.txt takes exclaimation commands (examples !dolphin, !beaver) and sends them to a hosted event handler.
whatever.php is the hosted event handler that adds the events to the queue and also processes the queue.
You can use whatever method you want to make whatever.php refresh at an interval.
This was requested on the twitch reddit and thought someone else might find it useful.