Back to Home Page

Script Tutorials

Script Bet UI

Functions

Internal Variables

VariableTypePermissionPurpose
basebetdoubleRead WriteShows the amount of the first bet. Only set for first bet.
previousbetdoubleRead OnlyShows the amount of the previous bet. Only set after first bet.
nextbetdoubleRead WriteThe amount to bet in the next bet. You need to assign a value to this variable to change the amount bet. Defaults to previousbet after first bet. Needs to be set before betting can start.
chancedoubleRead WriteThe chance to win when betting. Defaults to value set in advanced settings if not set. Need to set this value to change the chance to win/payout when betting.
bethighboolRead WriteWhether to bet high/over (true) or low/under(false). Defaults to true (bet high/bet over)
winboolRead OnlyIndicates whether the last bet you made was a winning bet (true) or a losing bet (false).
currentprofitdoubleRead OnlyShows the profit for the last bet made. This is not the amount returned. betting 1 unit at x2 payout, when winning, currentprofit will show 0.00000001 (returned =0.00000002), when losing, profit will show -0.00000001
VariableTypePermissionPurpose
balancedoubleRead OnlyLists your balance at the site you're logged in to.
betsintRead OnlyShows the number of bets for the current session.
winsintRead OnlyShows the number of wins for the current session.
lossesintRead OnlyShows the number of losses for the current session.
profitdoubleRead OnlyShows your session profit. Session is defined as the time since opening the current instance of bot or the last time you reset your stats in the bot.
currentstreakdoubleRead OnlyShows the current winning or losing streak. When positive (>0), it's a winning streak. When negative (<0) it's a losing streak. Can never be 0. Only set after first bet.
currentrolldoubleRead OnlyShow current roll information

Internal Functions

FunctionPurpose
dobet()The loop of bets
stop()Stop the bet

Sample Code