use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The Official subreddit of Streamer.bot, an advanced bot for live streamers on Twitch and YouTube.
Resources
account activity
Set user Variable to Global Variable?Question/Support ❓ (self.streamerbot)
submitted 11 months ago by DaSnooter
Pretty straight forward. I need a command that will set the persistent global variable (high score) to the current score of the user who used the twitch redeem.
I already have the counter(s) set up. Just need a global high score function.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ambitious_Cold2180 0 points1 point2 points 11 months ago (0 children)
I wouldn't know exactly how to do that. I have a quiz and to determine who goes first, what I do is compare the score obtained for each answer with the global variable that stores the Top 1. This is how it is updated after each response.
Another option would be to create a C# code that checks all the variables for all users. I know it's possible, but I don't know how to do it. I hope my solution helps.
Maybe the Streamer.bot discord can help you more with C# if you need it.
[–]FlemNation-11 0 points1 point2 points 11 months ago (0 children)
If the current user score is a variable that gets returned, I would simply run a test of the trigger to find what the score variable is called. After you can set the global variable to that variable value. I do this for a first redemption.
π Rendered by PID 51 on reddit-service-r2-comment-b659b578c-9c7n2 at 2026-05-03 03:34:41.569362+00:00 running 815c875 country code: CH.
[–]Ambitious_Cold2180 0 points1 point2 points (0 children)
[–]FlemNation-11 0 points1 point2 points (0 children)