Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with inputting commands while input cooldown is still activated #154

Open
skippy369 opened this issue Jun 16, 2014 · 1 comment
Open

Comments

@skippy369
Copy link

Alright so here's the problem:

You input something. Say you press A. Now the timer is activated (3-4 seconds after inputting a command). In the old script, you could have a new A (or any other command really) in the message bar and spam ENTER without it inputting. But now, with the new script/twitch chat, even if the timer is still counting down/active, if you press enter with a command in chat, it'll send it BUT it won't be counted as the timer was still active. Same problem with touch screen. In the old script I was able to spam click the touch screen and it wouldn't input my commands until the 3 second timer was over. But now it just spams the chat regardless if the timer is up or not.

@hugomg
Copy link
Collaborator

hugomg commented Jun 19, 2014

The problem with the old method is that the only way to know what the real slowmode time limit is is to try to send a message and get it rejected. Because of this, in the old version the slowmode timer was hardcoded to the script and would never decrease if it were too high. In the new version, if the script thinks the slowmode is longer than it really is you can bypass it. If it succeeds, good for you. If it fails twitch sends an error message back and we can update the timer.

I don't know how to get the best of the both worlds though. One possibility is adding back the sent message to the chat box if it gets rejected by slowmode. Another one is going back to fixed slowmode timers (and let them be controlled via settings?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants