Yes. I've been moved in for 2 months, but didn't have the money to get online again. I'll actually have internet at home starting Monday. I'm just using this from work for now. Thanks for the welcome back.

Now, back to the questions at hand...
MikeChat, you can't use isin because "1" isin "15" and such... you'll need $istok. Still the same idea as what you coded above. I don't have mIRC here and it's been 2 months since I've used it, so I can't recall the exact $istok format, so I won't give an example. Sorry.

As for the hash tables... (if there is anything coded incorrectly, remember it's been 2 months since I've scripted and I can't view the format from here to check it... just ask if something isn't working or mention what's coded wrong):
alias ShuffleDeck {
hmake Deck 5
hadd Deck 1 AH
hadd Deck 2 2H
hadd Deck 3 3H
[color:red]...etc...[/color]
}
alias MakeHands {
hmake Hand1 1
hmake Hand2 1
}
alias Draw {
if ($hget(Deck,0) == 0) { ShuffleDeck }
var %card = $rand(1,$hget(Deck,0))
hadd Hand $+ $1 $hget(Deck,%card)
hdel Deck %card
}
Use Draw with the hand number who is drawing the card:
/draw 1
/draw 2
etc.
That should get you started. Note that you may also want to add in a check to make sure the deck and the hand hash tables are created to prevent errors. And, right now, it will reshuffle a FULL deck. You'll want to change that part to have it remove the cards in each hand after shuffling. This should give you a general idea, though. I don't have time to write a full card drawing script right now.
