VISUAL GUIDE to
RX Scripting
for Roulette Xtreme - System Designer 2.0
L J Howell
UX Software – 2009
Ver. 1.0
TABLE OF CONTENTS
INTRODUCTION ..............................................................................................................................ii
What is this book about? .................................................................................................... iii
How to use this book .......................................................................................................... iii
Time to start........................................................................................................................ iv
GETTING ACQUANTIED WITH RX SCRIPTING............................................................................1
What is RX Scripting?..........................................................................................................2
What RX Scripting Can Do ..................................................................................................2
The Piece-together Language .............................................................................................2
Action Command .........................................................................................................................2
Condition Command ....................................................................................................................2
Putting the Pieces Together ................................................................................................3
Using the Statement Completion.........................................................................................4
The Initial System Design....................................................................................................6
System .........................................................................................................................................6
Method .........................................................................................................................................6
Block Structure ....................................................................................................................8
Format Structure..................................................................................................................9
Using Comments ...............................................................................................................10
Storing Data Values...........................................................................................................11
Data Records .............................................................................................................................11
Data Flags..................................................................................................................................12
Logical Comparisons for Condition Statements ................................................................13
Logical expression comparisons ................................................................................................13
Count of total comparisons ........................................................................................................14
Lost bets comparisons ...............................................................................................................14
Won bets comparisons ..............................................................................................................15
Outcome of roulette layout comparisons....................................................................................15
Found within a list of numbers comparisons ..............................................................................16
Last Answer comparisons ..........................................................................................................16
Span between 2 numbers on roulette wheel comparison ..........................................................17
Distance between 2 numbers on the marquee board comparison .............................................17
Pattern Match comparisons .......................................................................................................18
WORKING WITH CONDITION COMMANDS................................................................................19
Initial Condition ..................................................................................................................20
While or If condition? .................................................................................................................20
Loop Until condition ...................................................................................................................21
Continuation Condition ......................................................................................................22
Using the Else continuation........................................................................................................24
Block Condition..................................................................................................................25
Using the Group Condition.........................................................................................................25
WORKING WITH ACTION COMMANDS ......................................................................................27
Place Action.......................................................................................................................28
Put .............................................................................................................................................28
Put 100% ...................................................................................................................................29
Mathematical Action ..........................................................................................................30
Add ............................................................................................................................................30
Add 100% ..................................................................................................................................31
Subtract and Subtract 100% ......................................................................................................32
Multiply.......................................................................................................................................32
Multiply 100%.............................................................................................................................33
Divide and Divide 100% .............................................................................................................34
Input Action........................................................................................................................37
Input Data ..................................................................................................................................37
Input Dropdown..........................................................................................................................38
Display .......................................................................................................................................39
Ask .............................................................................................................................................40
i
Assign Action .....................................................................................................................41
Assign action commands that alter Roulette Xtreme .................................................................41
Apply En Prison....................................................................................................................41
Apply Le Partage..................................................................................................................42
Load Double Wheel..............................................................................................................43
Load Single Wheel ...............................................................................................................44
Load No Zero Wheel ............................................................................................................45
Stop Session ........................................................................................................................46
Assign action commands that copy data....................................................................................47
Copy.....................................................................................................................................47
Copy Last .............................................................................................................................48
Copy List ..............................................................................................................................49
Copy Neighbors ...................................................................................................................50
Duplicate ..............................................................................................................................51
Miscellaneous Assign action commands ...................................................................................52
Track Last ............................................................................................................................52
Clear.....................................................................................................................................53
Set Max ................................................................................................................................54
Set List .................................................................................................................................55
Generate Random Number ..................................................................................................56
Assign action command for data flags .......................................................................................57
Set Flag................................................................................................................................57
Reset All Flags .....................................................................................................................58
Maneuver Action................................................................................................................59
Maneuver action commands that alters a list in a data record ...................................................59
Move List Up ........................................................................................................................59
Move List Down....................................................................................................................60
Locate Number Right ...........................................................................................................61
Locate Number Left..............................................................................................................62
Locate Distance Between.....................................................................................................63
Locate Number Backward ....................................................................................................65
Locate Number Forward.......................................................................................................67
Call .......................................................................................................................................69
Return ..................................................................................................................................69
Exit .......................................................................................................................................70
WORKING WITH ROULETTE LAYOUTS .....................................................................................71
Inside Layouts....................................................................................................................72
Individual Straight-up Numbers..................................................................................................72
Split ............................................................................................................................................73
Horizontal Split...........................................................................................................................73
Vertical Split ...............................................................................................................................74
Street .........................................................................................................................................75
Line (Double Street) ...................................................................................................................76
Corner ........................................................................................................................................77
Outside Layouts.................................................................................................................78
Dozen ........................................................................................................................................78
Column ......................................................................................................................................79
Even Chance .............................................................................................................................80
Using Layouts with Commands .........................................................................................81
Action Command .......................................................................................................................81
Condition Command ..................................................................................................................82
CREATING ROULETTE SYSTEMS ..............................................................................................83
Martingale System .....................................................................................................................84
Expanding on the Martingale System ........................................................................................86
D’Alembert System ....................................................................................................................88
Reverse D’Alembert System ......................................................................................................90
Labouchere System ...................................................................................................................92
Inside Number System...............................................................................................................96
RX SCRIPTING TEMPLATE........................................................................................................103
Template to use when creating new systems ..........................................................................104
Adding the Template to System Editor.....................................................................................105
ii
i
INTRODUCTION
Welcome to RX Scripting. Using this easy-to-learn programming language, you’ll be
able to create many roulette systems. This book has been written as a painless
introduction to RX Scripting, so you don’t have to be a programmer to write roulette
systems.
So put away your pocket protector as you will not need them at any time because
being a computer geek is not required.
iii
Introduction
What is this book about?
This book is for people who want to take advantage of Roulette Xtreme’s powerful
RX Scripting language and create systems to test and use in real online or land
casinos.
We don’t assume you know anything about programming or scripting language. We
do however assume you know a little about the casino game of roulette and all of its
different betting combinations and payouts.
If you already know a little about programming, you should know that this book does
not take the same approach to RX Scripting as you might learn from other
languages. This book does not delve deeply into the RX Scripting language as you
can find all the information about the syntax language with the help documentation
included with Roulette Xtreme software. However, where appropriate, I will go into
detail on some action and condition commands so you don’t have to spend a lot of
time reading the help documentation. This book concentrates on showing you how to
properly understand and use action and condition commands so you can create
useful systems with RX Scripting without a lot of extraneous information.
How to use this book
Throughout this book, there are special techniques to make it easy for you to read
the book and understand the scripting language.
In the step-by-step instructions that make up most of this book, there are special
type styles to denote the RX Scripting code like this:
System "my system"
Method "main"
Begin
While Starting a New Session
Begin
Put
1 unit on Black
End
End
In the illustrations accompanying the step-by-step instructions, the highlighted parts
of the RX Scripting will be in red so you can quickly know what example is in
discussion. Also note that the RX Scripting language identifiers will be presented in
bold and the first letter is Capitalize, (i.e. Method, While, Begin). Other words will
be in normal text including any identifiers that require text enclosed in quotation
marks. Following is an example of an input action command with text enclosed in
quotation marks.
System "my system"
Method "main"
Begin
Input Data “Enter your bankroll” to Bankroll
End
Since I am referencing the input action command the entire RX Scripting format is in
red. All other words not part of the RX Scripting language will be in normal text as
well which are considered filler-words to help make the RX Scripting language easier
to read. (i.e. the word to as shown above) When I am referring to language
identifiers, I will underline and bold them like the following action command: Put.
This way it is not confusing when explaining about this type of identifier.
iv
Introduction
Time to start
RX Scripting is very easy to start by creating a simple system that allows you to
place bets on the Roulette table. Then later add more complicated stuff as you need
it. You don’t have to learn the whole book’s worth of information before you can
create Roulette systems.
Of course, every journey begins with the first step of understanding the basics of RX
Scripting, followed by understanding action and condition commands, then finally
creating a simple system to a more complex one.
v
GETTING
ACQUANTIED
W
1
ITH RX
SCRIPTING
For roulette gamblers, the evolution of creating systems has been a mixed blessing.
In the early days, creating systems was simple as writing them down on a piece of
paper (or back of a napkin). The only way to test these systems was to try it out on
a real casino and risk losing your money.
Now with internet gambling becoming very popular, gamblers are now able to test
the written systems in practice mode (offered on most internet gambling sites)
before risking any money.
Those types of testing are very tedious and time-consuming often leading to making
mistakes with hand written calculations and such.
Now with Roulette Xtreme System Designer software, you can easily create systems
and run them through a series of many tests to validate your system to ensure it is a
winning system before trying it out on any casino whether land or internet.
In this chapter, you will learn what RX Scripting can do and also some of the basics
of the RX Scripting language.
1
Getting Acquainted with RX Scripting
Chapter 1
What is RX Scripting?
RX Scripting is a programming language that you can use to create roulette systems
with Roulette Xtreme System Designer software. But if you are not a programmer,
do not panic at the term “programming language”. There are many examples of RX
Scripting from different roulette boards especially the ones from the following sites:
• http://www.uxsoftware.com/pages/system.html/
• http://vlsroulette.com/
• http://www.laroulette.it/
The language consists of actions and conditions that allow you to play a created
system automatically by placing bets on the table for the development of betting.
For each spin the system runs through a series of commands. The structure of the
language is much like an English sentence. For example, the code in red below:
System “my system”
{
System to place 1 unit on black
}
Method "main"
Begin
Put 1 unit on Black
End
The above RX Scripting code (which is an action command) is telling the system to
make a bet of 1 unit to the even chance of black on the roulette table and the result
from the code is shown below.
The scripting language is created inside method blocks that have a Begin and End
syntax identifier. The method main must exist as this is the entry point where the
system starts to run through the series of commands. One method called Method
main which must exists for every system otherwise the program will fail to compile
and work correctly.
2
Getting Acquainted with RX Scripting
Chapter 1
What RX Scripting Can Do
There are many things you can do with RX Scripting when creating a roulette
system. RX Scripting lets you create an active user interface, giving you feedback to
enter information before or during an active session.
For example, you might want the system to ask you for a starting bankroll (units) at
the start of a new session. That’s done with the action Input Data command. RX
Scripting language for this action user interface is shown below.
System “my system”
Method “main"
Begin
While Starting a New Session
Begin
Input Data “Enter your starting Bankroll” to Bankroll
End
End
When the script is run, the system presents a user interface dialog screen allowing
them to enter a bankroll amount.
You can use RX Scripting to perform complex calculations like tracking the last 37
numbers that have appeared or place bets on different table layouts based on results
from certain types of conditions. You can also access statistical data from the
outcomes of any of the roulette’s layouts such as standard deviation, mean,
minimum and maximum and process those statistical data measures to perform
decisions of when to bet or when to quit a session.
With RX Scripting, you have the ability to access almost all of the input and
statistical functions of Roulette Xtreme software. What that means is you can read
through the history of outcomes that have already occurred, access statistical data
and perform comparisons of one outcome to another, change the wheel layout from
European to American or none and so on.
2
Getting Acquainted with RX Scripting
Chapter 1
The Piece-together Language
RX Scripting is an English style language pieced together by different parts to form a
complete statement. The first part of a statement is a command which could be an
action or a condition type of command. These two types of commands make up the
entire RX Scripting language. You perform some action (i.e. placing a bet) or from
the results of a condition, perform some action, (i.e. when red has appeared 3 times,
bet on black). The following describes the two different types of commands.
Action Command
An action command is an identifier for performing something now without any
conditional event to occur. For example: let’s say I want to place a $5.00 unit on
black. If I was playing a real roulette game, I would put a $5.00 chip on the even
chance of black. The process is called an action. I performed such a task without
any regard to some conditional event. In this case, the action identifier, Put is the
command followed by several identifiers pieced-together to form a statement. Below
demonstrates how this is done with RX Scripting.
System “my system”
Method “main"
Begin
Put 5 units on the Black
End
Condition Command
A condition command is a logical process that produces an event of either a true or
false. For example: let’s say that I want to place a $5.00 unit on the even chance
of black only after I noticed that the color black has appeared 3 times in a row. So, I
patiently wait spin after spin until I noticed on the marquee board that black has
appeared 3 times and once this happens, I immediately place a $5.00 chip on the
even chance of black. This is called a condition event where I waited until the event
became true before I placed any bets. In this case, the condition identifier, If is the
command followed by several identifiers pieced-together to form a statement.
The next script example demonstrates how this is done with RX Scripting. The script
is using a condition statement to wait for black to appear 3 times in a row before
placing 5 units on the even chance of black. As you can see from the marquee board
that the last 3 outcomes are black thus causing the condition event to become true
which then executes the action statement to automatically place 5 units on the even
chance of black as shown on the far right image.
System “my system”
Method “main"
Begin
If Black has Hit for 3 times
Begin
Put 5 units on Black
End
End
2
Add New Comment