Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // open a twitch channel with channel points
- // open inspector (Opera: CTRL + SHIFT + C, Chrome: CTRL + SHIFT + I, Firefox: F12)
- // open console in tab
- // copy / paste code + ENTER
- // only works if you view a live stream. (just open chat is not enough)
- var chestPoints = 0;
- setInterval(function() {
- if (document.querySelector(".chat-input__buttons-container .tw-button.tw-button--success.tw-interactive") !== null) {
- document.querySelector(".chat-input__buttons-container .tw-button.tw-button--success.tw-interactive").click();
- chestPoints += 60;
- console.log('Points: ' + chestPoints);
- console.log('Time: ' + (new Date()).getHours() + ':' + (new Date()).getMinutes());
- } else {
- //console.log('nothing D:');
- }
- }, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement