This is an old revision of the document!
Table of Contents
Waffle Iron
Waffle Iron is a raffle system designed to select an active chatter at random in order to award them in some way. The most recent incarnation is web based, and consists of up to 4 separate but connected web pages.
It is important to note that the data is not stored on the server, that the controller expects all used pages to be open before operation, and that refreshing any of these pages can result in desync or loss of data (especially the controller), though efforts have been made to sync data at important points. As such, any pages used in OBS browser sources should disable both “Shutdown source when not visible” and “Refresh browser when scene becomes active”.
Pages
Controller
The controller is what operates the raffles and handles data. If this page is refreshed, all data will be reset to it's initial state; clearing bans, silent bans, past winners, alarm settings, etc.
The basic flow of a raffle goes as follows:
- Click “Accept entries” to start accepting entries. This will also change the display text of the output page to reflect that entries are open, and that sending a chat message will enter them into the raffle. The “Accept entries” button will now display “Spin”.
- As chatters enter the raffle, their names will appear in the “Raffle entries” box. Clicking the “x” next to their name in this box will remove them from entries and put them into the “Ban” box. Additionally, the total number of entries will be shown above the “Raffle entries” box.
