hand recognition - 04/02/06 12:38 AM
im stuck on getting mirc to recognize various hands
card format A-S,10-C,etc.,
i originally wanted to just have a list of the hands possible and have it check against that, upon doing some research i heard theres about 2 million hands so that became unusable
so i guess i would have to have mirc recognize aspects of a hand
something like this
but then it has to take into account the highest card in the flush and kickers with other hands
any help is appreciated
hand list
royal flush
straight flush
4 of a kind
full house
flush
straigh
3 of a kind
2 pair
1 pair
high card
card format A-S,10-C,etc.,
i originally wanted to just have a list of the hands possible and have it check against that, upon doing some research i heard theres about 2 million hands so that became unusable
so i guess i would have to have mirc recognize aspects of a hand
something like this
Code:
var %x = 1 while (%x <= $numtok(%players,44)) { if ($wildtok($($+(%,player.,$gettok(%players,%x,44)),2),*-S,0,44) >= 5) { set $+(%,player.,$gettok(%players,%x,44),.,hand) flush inc %x }
but then it has to take into account the highest card in the flush and kickers with other hands
any help is appreciated
hand list
royal flush
straight flush
4 of a kind
full house
flush
straigh
3 of a kind
2 pair
1 pair
high card