Welcome, Guest. Please login or register.
October 01, 2023, 08:36:45 PM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Setting Variables with Random Action 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Setting Variables with Random Action  (Read 649 times)
Clickz
Serious Botter
***

Karma: 0
Posts: 710

Big Payouts!


« on: August 25, 2023, 06:07:47 PM »

I have a random action in my post-flop code that will re-raise small raises to try to get opponents to fold. Is it possible to set a variable to true while also performing that action?

As an example:

Code:
When (BotsLastPreflopAction = Raise) and (other conditions met)
When stacksize => 30 and Random <= 50 Raisepot Force

When this action happens, I want to set a (user_bluffraise) variable to true so we can follow this action up in the river code instead of doing our usual river code (which may fold in this situation). But since it's randomly doing this, I am not sure how I would set the variable to true at the same time as performing the action.


Edit:

Guess the only way would be to set a variable to true randomly. Like when random <= 50 user_bluffraise

And then in the post-flop we'd just do

Code:
When (BotsLastPreflopAction = Raise) and (other conditions met) and user_bluffraise
When stacksize => 30 Raisepot Force

Don't think there is a way to set a variable in the same line as an action otherwise?
« Last Edit: August 25, 2023, 06:30:14 PM by Clickz » Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 378
Posts: 35088



WWW
« Reply #1 on: August 25, 2023, 06:32:34 PM »

When (BotsLastPreflopAction = Raise) and (other conditions met)
When stacksize >= 30 and Random <= 50 user_bluffraise
When user_bluffraise raisepot force
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Setting Variables with Random Action
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!