ok now i wanna go a bit deeper with what im doing so im wondering how i would for say when i click dialog button it picks random person from hash table whos data = 4 or more like
DaRkCaSTLe = 6
Test1 = 4
Test2 = 3
Test3 = 5
have a pick a random person from DaRkCaSTLe,Test1,Test3
and have it send picked person to dialog edit box
[/code]
if ($did == 30) {
echo -a Rolling for a Winner!!!!
timerPickRandomWinnerFromList 1 5 PickRandomWinnerFromList
}
}
alias PickRandomWinnerFromList {
pickrandom person from $hget(TwitchChannelUsers,o).item that has 4or more $hget(TwitchChannelUsers,o).data
set %currentgiveawaywinneris
did -ra GiveawayTokenController 33 %currentgiveawaywinneris
}
[code]
or what would simply be for picking random from $hget(Tablename,wildcard).item thas 4 or more of $hget(Tablename,wildcard).data
just wanna pick a random from the qualified people and not have it pick same one like a bad loop or something hope i my explanation makes it easy to understand what im lookin for basically a simple random picker from hash table named people whos data is 4 or higher