This could be done possibly even using just the quote api for nightbot. One issue that lies is that there is no way to automatically detect and delete the code after it has been used, it would have to be done manually.
If you do use the quote system you would just setup a timer that says a random quote with the steam code for nightbot to post. You can label them however you want.
A slightly more complicated setup is to list your quotes incrementally, so going “!quote 1”, “!quote 2”, etc.
Could you not just put the count command in there for that?
I also have a custom count command that I haven’t documented yet if that doesn’t work.
The problem with the quote system is that I’m not sure that I’ll be available each X minutes to delete used keys.
I’m not sure to understand how it should be done/use. Do you mean that I should create one quote per key? (like you explained it here) If I do so, how could I setup a timer which will trigger the quotes one by one without the random and the possibility to send the same quote twice?
Moreover, I can’t really type in tchat all keys to add them in the quote system and taking the risk that someone is around to “steal” them.
As you mention, the tricky part is inputting the codes not using chat. It can be done purely with the browser by modifying the data parameter manually, like such: