BBO Discussion Forums: printes, altcount and ptN commands - BBO Discussion Forums

Jump to content

Page 1 of 1

printes, altcount and ptN commands

#1 User is offline   DavidKok 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,588
  • Joined: 2020-March-30
  • Gender:Male
  • Location:Netherlands

Posted 2023-June-17, 09:53

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.bridgeba...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)

0

Page 1 of 1


Fast Reply

  

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users