Jump to content

printes, altcount and ptN commands


Recommended Posts

I could not find an explanation of how these commands work online, also the documentation is a bit lacking. The best reference I could find is https://www.bridgebase.com/forums/topic/77321-printes-altcount-n-ptn/, which asked the question but did not provide the answer. So here is a working example of my own.

 

produce 1 //for testing

altcount	7 2 1
/*
The first number defines which altcount we'll be using, in this case 7.
The Dealer script can run up to 10 different alternate point counts, labeled 0-9.
After selecting a number we can add up to 13 numbers, specifying the value of each card in descending order.
This example sets A = 2, K = 1, lower = 0, counting controls.
*/

altcount	8 0 0 0 0 0 0 0 0 0 0 0 0 1
/*
This example uses altcount 8 to count the number of two's in the hand.
*/

action			printes("South holds ",pt7(south)," controls, where A = 2, K = 1.",\n,"In addition South holds ",pt8(south)," two's.",\n)

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...