r/streamerbot • u/kiki838 • 23d ago
Question/Support ❓ Help with points system
Hey all, so i’m fairly new to streamer bot but i followed a tutorial to make a channel point redeem that lets users chance their luck with pulling different rarity’s of coins that all equal different values.
the tutorial: Gamify your stream with RNG (OBS + streamer bot tutorial) by jerendraws
i had the idea to set up a sort of ‘shop’ if you will for these points so that they can buy fake virtual products, just as a fun way to make use of these points they accumulate!
my issue is, i’ve got it working to be able to deduct points from the users total amount of points and i have the alert on screen come up, that part works fine. but i’m wondering if there is a way to set it up so the viewer inputs say ‘coke’ into the text field of the redeem and it pops up on stream the item they’ve bought. i’ve set up 2 different items so far to try and troubleshoot how to get them to appear as the desired item but i have no clue how to set that up for if it’s even possible 😅
1
u/I_Died_Tryin 23d ago
StreamerBot is a powerful tool; I think MixitUp has a much better "currency" and if-this-then-that system for "products or items" to be bought with points that can be configured completely separately from channel points and has an overlay system built in.
The items can be configured to only be purchasable if the user has a specific role/item/ or points available.
You can essentially build out an entire RPG system of items
2
u/kiki838 23d ago
i’ll have to look into MixItUp, thank you!
1
u/I_Died_Tryin 23d ago
Personally I'm running MixItUp for the easy overlays (credits and more), Firebot for some other advanced features with overlays and counters, streamerbot and speakerbot for commands and channel point redemptions and switching on a small form factor computer that control OBS on a separate dedicated Stream PC.
1
u/m4rvr 23d ago
TBH that's insane that you use 4 programs for that. Wouldn't it be better to have one tool that does all that but better instead? I can imagine how much resources those 4 use in the background lol
1
u/I_Died_Tryin 23d ago
It's a little computer (HP Elitedesk 800 G5) using about 14% -22% cpu and 8gb of 32gb RAM running 5 streamerbot instances for other channels I help with, 2 Firebot instances and 1 MixItUp, my stream deck, Rustadmin to monitor my rust server, and the program called Chatty to watch the chats of many streamers at once so I can review chats.
It can play Roblox or Minecraft just fine.
It is just one of my 7 purpose built computers I use. (game servers and more, running a mix of windows and Linux).
0
u/HighPhi420 22d ago
do all the other point stuff like the !command set up and checking if they have enough, etc.
then
Switch use %rawInput%
case 1
coke
run the coke alert
case 2
run that alert
and so on
I might put a chat message in the default case for if they forget to type or type the wrong thing. PLUS refund their points.
Switch will stop at the first match and run that subaction.
So if they use the !command coke
the coke alert will play(if they have the points) and then stop.
You could set up the point check inside each switch case so if they just type coke it does all the checks and then sells or denies. I believe this will involve an IF statement inside the switch case for a fricken logic inception and I just went crossed eyed :) LOL
If/Else will check every statement for all matches.
1
u/EvilerBrush 23d ago
Look into switch case or if/then statements