For every x amount of messages sent wait x amount of time and continue

Is there a way to make it so for example, you send 1000 messages per second and you send the first 1000 messages to then wait like 1 second and continue?

You are viewing a single comment. View All
Answered by ArchieMaclean (780) [earned 5 cycles]
View Answer

Yes you are correct. I have the sending a thousand messages per second part down but I need to add waiting a second and repeating. It seems your code does not work. It needs to wait one second every thousand messages to not crash. @ArchieMaclean