Hey @Loopy Dog!
It was hard to understand, but I think I get what you want.
First of all, let me redirect you towards a solution that is already existing with Nightbot: https://docs.nightbot.tv/commands/poll
I would personally recommend this solution.
Now if you want something custom, keep reading.
Have you read the first link I sent before? Please do.
This solution isn't 100% accurate as not every vote entry will be taken in account because of Nightbot's cooldown.
One way you could do this is by using the quote system API. You'll get your TOKENS by clicking on the second link in the post, use these in the commands I wrote. To know where to look for your PUBLIC_TOKEN and PRIVATE_TOKEN, look at the field bellow:
$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=$(querystring))
Keep your PRIVATE_TOKEN secret, don’t share it anywhere. To add a command containing your PRIVATE_TOKEN do it from the dashboard. Don’t use the chat as anyone could monitor it and copy the token, they could then edit your data.
Then the voting commands are:
• 1
$(eval z=`$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=a)`;` `)
• 2
$(eval z=`$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=b)`;` `)
• 3
$(eval z=`$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=c)`;` `)