Statement: Action, Type: Initial
Bet Data File
Format: Bet Data File
Description
The Bet Data File identifier will read a TEXT file opened by the Load Data File action command. Inside the file contains a comma delimited list of Table Layout and bets for each layout.
Example:
Low, 5
Red, 5
36, 1
This action command is useful to place bets on Table Layout from an external program that calcuates bets to be played.
Example
After the action command Load Data File has opened the file "bets.txt", we are going to read the file and place bets in the comma delimited format. In the file, we are going to bet on three layouts. Number 0 for 1 unit, Number 33 for 1 unit and Low for 1 unit. The Bet Data File will read the contents of the file and place the bets on the table. The following example will perform this task.
RX Script | Copy Code |
---|---|
Load Data File "C:\BotDir\bets.txt" for 3 seconds Bet Data File |
Results from example
Bets.txt file with comma delimited data. The first column is the layout and the second column is the bet amount.
0,1
33,1
Low,1
Three bets placed on layouts, Number 0, Number 33 and LOW