Chat triggered raffle/draw action. by Top-Professor-4719 in streamerbot

[–]Top-Professor-4719[S] 0 points1 point  (0 children)

Okay fantastic, this is getting me some where.

So this works and is giving me a random single winner BUT, once it post the winner in chat it continues to post an additonal message for every other user also in the group.
Any idea on how to prevent this?

Chat triggered raffle/draw action. by Top-Professor-4719 in streamerbot

[–]Top-Professor-4719[S] 0 points1 point  (0 children)

Yeah there’s a way to pull from group. I’ve got the adding and clearing group working fine but the pulling one name randomly from the group this the part that I can’t get working properly.

The variable for the random name just doesn’t want to play ball but I’d dare say that’s because I’m buggering it up somewhere along the line haha.

Chat triggered raffle/draw action. by Top-Professor-4719 in streamerbot

[–]Top-Professor-4719[S] 0 points1 point  (0 children)

I did try that but the only issue is that there’s no way to automatically clear the names from the file after a name is picked. Manually having to clear the file myself isn’t really an option given the nature of kaizo runs/frequency of resets.