Script can only send 1 message per 2 seconds queue - 14/03/16 01:52 PM
Hello I need help with some code,
I would like my script to only send a message per 2 seconds no matter what script has been executed.
I am using this on twitch so if the script/bot says 2 messages at the same time it wont show up so I would like to have a queue system where the text messages queue up and sends per 2 seconds instead of sending at the same time.
if someone does !command it shows up the response
but if you say it again in 2 seconds it will queue and wait 2 seconds and say the message.
Its hard to explain, need help!
I would like my script to only send a message per 2 seconds no matter what script has been executed.
I am using this on twitch so if the script/bot says 2 messages at the same time it wont show up so I would like to have a queue system where the text messages queue up and sends per 2 seconds instead of sending at the same time.
if someone does !command it shows up the response
but if you say it again in 2 seconds it will queue and wait 2 seconds and say the message.
Its hard to explain, need help!
