 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Fri Sep 22, 2006 4:05 pm
Assistance on a poker script, please? |
I play in Aardwolf, and within the game, you can play poker. However, the way it's set up in the game, it's not so easy to tell what cards you have. So I'm wanting to upgrade it to a more visual system. Here's what I want to do.
For:
Code: |
Hold'Em> You have been dealt: Ace of Clubs, 2 of Clubs |
Code: |
Hold'Em> The Flop has been drawn: 3 of Clubs, 4 of Clubs, 5 of Clubs |
Code: |
Hold'Em> The Turn card is: 6 of Clubs |
Code: |
Hold'Em> The River card is: 7 of Clubs |
I want returned:
Code: |
----- -----
|A () ||2 () |
| ( )|| ( )|
| || || || |
----- ----- |
Code: |
----- ----- ----- ----- -----
|A () ||2 () | |3 () ||4 () ||5 () |
| ( )|| ( )| | ( )|| ( )|| ( )|
| || || || | | || || || || || |
----- ----- ----- ----- ----- |
And so forth, each trigger adding another card to the ones already shown. If need be (and it'd probably be a lot easier), we can base it off this trigger:
Code: |
Hold'Em> Current Hand Info: 1389/0/0 *(AC 2C | 3C 4C 5C 6C 7C) |
Greatly appreciate any help anyone can give, and thanks in advance!
Charneus |
|
|
 |
Vitae Enchanter

Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Fri Sep 22, 2006 4:15 pm |
You do know there is a card display system on there right?
it can show the cards just like that.
Or am i just not understanding the question?
EDIT:
Quote: |
help poker commands
Cardstyle - Syntax: poker cardstyle <number> [test]
This allows you to customize how you see the cards. The options are:
0) Full-Word Ranks and Suits.
1) Full-Word Ranks and Suits with column-aligned spacing.
2) Short-cards, 1-character rank, 1-character suit.
3) Graphical (ASCII) cards.
With no arguments, you will get the list of options and which option is currently selected. The "test" argument will show an example of the given cardstyle.
NOTE: "cardstyle" may be abbreviated "cs" |
|
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Sep 24, 2006 7:10 pm |
It pays to read help poker sometimes. I hadn't realized that. :) Thanks!
|
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|