Extra Life Module


#1

I noticed that Extra Life put out an official API. This script was intended to work with a kludge on their website but now is updated to use the API:

https://raw.githubusercontent.com/IllusionaryOne/PhantomBotTestScripts/master/custom/extraLifeSystem.js

It does not have a language file, you can edit the script directly.

To setup, one the module is activated run from chat:
!extralifeid

To get your ID, look at your page in Extra Life and look at the URL, at the end you will see participantID=123456. That number is your ID.

The commands in chat are:

!extralife - Displays your URL for Extra Life based on your ID
!extralife total - Total donations received
!extralife last - Last donation

The module will auto-detect new donations that are made and shoutout people in chat.