Need Help With Project

So, recently I wanted to make a twitch channel point afk bot that will frequently talk in chat with randomized messages. I am very new to coding and would like to ask a few questions so I can get started.

  • How do I set up a random number generator, and link it to actions (such as typing, clicking, etc.)?

  • How do I make said random number generator have a time limit (every so often, like every 300s)

If anyone could respond with help I would reqlly appreciate it. I’m quite new. If you could even tell me what to search to find what I’m looking for, that would help too! Thanks in advance!

Please start by explaining your setup or plans on how to use Hype on Twich. Are you using Hype exports as OBS overlays as recently mentioned on this forum?