Sorry... typo -- I missed a ).
if ($istok(!BlackJack !version !leave !deal !bet !ImIn !hitme !stay !double,$1,32)) {
That will fix it for you. Is this something you wrote up, then?
I made up a nice single-deck card hash table that stores cards with color that can then be output to the channel. In other words, a 5 of Hearts will appear in the channel as 5H and will have a white background and red lettering, making it as close to a real card as can fit in a line of text on IRC. The use of the hash table makes it very easy to "shuffle" the deck and prevent cards from being used multiple time, as well as it makes it very easy to deal with suits.
If you wrote this and want to improve it, you might look into that possibility. If you didn't write this, then I wouldn't bother trying to convert it.
Last edited by Riamus2; 28/10/05 07:49 PM.