Is there a way for me to do one or more of these 3 things?

I’m making a NightBot command which will hopefully do one of 2 things:

  1. Pull a response from one of 9 possibilities
  2. Count until a certain number and reset when it hits that number or after a certain length of time

Are any of these possible?

  1. Useful Custom APIs -> Choices
  2. This is possible if you make a custom api -> https://docs.nightbot.tv/commands/variables/urlfetch