Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pseudo code time
- let's laugh at teh shingen's flimsy grasp on programming
- -----
- streamlabs api or whatever tip platform needed - should work
- pubsub for cheers n subs
- loop an api call every x minutes for follow checky and wish that twitch could place follows into pubsub because IT'D MAKE THINGS A FUCKTON EASIER GAH
- -----
- tip alert/cheer alert comes in
- get amount
- display alert, counting up amount
- if (secret trigger) is amount,
- (special d alert) sequence, different sound file, wham
- otherwise, complete counting up, change to "end of alert" sound file, wham
- wham, end of alert
- sub train - this is probably not going to happen till I get my more robust alerts set up
- timer - if any alert is playing within 10 seconds of the end, switch to overtime mode
- overtime mode: play through the rest of the alert queue - the queue will consist of ALL alert types, and can be added to.
- if the stack completes, overtime ends after a 5 second delay.
Advertisement
Add Comment
Please, Sign In to add comment