You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
withdraw(amount,bitcoinaddress) Returns: void. Parameters: 1: Amount to withdraw, double. 2: Address to withdraw to, string. Withdraws the specified amount to the specified address if the site supports it.
invest(amount) Returns: void. Parameters: 1: Amount to withdraw, double. Invests the specified amount if supported by the site.
tip(username,amount) Returns: void Parameters: 1: Username or ID to tip to. 2: Amount to tip to specified user. Tips the specified amount to the specified user if the site supports it. Username can be either the name or ID depending on site being used.
stop() - done
start() - done
resetseed() - done
print(message) - done
getHistory() Returns: Bet{}. Returns all bets made by the bot for the site as stored in sqlite. Not recommended running this after every bet as the IO will become extremely intensive.
getHistroyBydDte(fromdate) Returns:BET[]. Parameters: 1: Starting date to search from, inclusive, string. Get all bets for the current site as stored in SQLIte made on or after the specified date.
getHistoryByQuery(sqlitequery) Returns: BET[]. Parameters: 1: SQLITE query to be executed to select bets from sqlite, string. Get all bets that match the sqlite query. No sanitation of sql query is done, thus updates/deletes/drops can be performed using this function.
martingale(win) Returns: double. Parameters: 1: Win, bool. Indicates whether to process the bet as a win or a loss. Executes the built in martingale system as set up in the advanced mode. Returns what the next bet would be using said system
labouchere(win) Returns: double. Parameters: 1: Win, bool. Indicates whether to process the bet as a win or a loss. Executes the built in labouchere system as set up in the advanced mode. Returns what the next bet would be using said system
fibonacci(win) Returns: double. Parameters: 1: Win, bool. Indicates whether to process the bet as a win or a loss. Executes the built in fibonacci system as set up in the advanced mode. Returns what the next bet would be using said system
dalembert(win) Returns: double. Parameters: 1: Win, bool. Indicates whether to process the bet as a win or a loss. Executes the built in dalembert system as set up in the advanced mode. Returns what the next bet would be using said system
presetlist(win) Returns: double. Parameters: 1: Win, bool. Indicates whether to process the bet as a win or a loss. Executes the built in preset list system as set up in the advanced mode. Returns what the next bet would be using said system
resetstats() - done
servalueint(name,value) Returns: Void. Parameters: 1: The name of the setting to change the value for, string. 2: The new integer value for the setting, int. Set the value for a setting in the advanced mode to be used when executing one of the built in systems. Intended for use with integer values, such as number of bets, losses or wins.
setvaluedouble(name,value) Returns: Void.Parameters: 1: The name of the setting to change the value for. string. 2: The new double value for the setting, double. Set the value for a setting in the advanced mode to be used when executing one of the built in systems. Intended for use with double values, such as profit, balance.
setvaluestring(name,value) Returns: Void.Parameters: 1: The name of the setting to change the value for, string. 2: The new string value for the setting, string.. set the value for a setting in the advanced mode to be used when executing one of the built in systems. Intended for use with string values, such as lists of bets, bitcoin address.
setvaluebool(name,value) Returns: Void. Parameters: 1: The name of the setting to change the value for,string. 2: The new bool value for the setting. set the value for a setting in the advanced mode to be used when executing one of the built in systems. Intended for use with bool values, such as enabling or disabling a setting.
getvalue(name) Returns: object. Parameters: 1: Name of the setting, string. Get the value from the advanced mode for the specified setting.
loadstrategy(filepath) Returns: Void. Parameters: 1: full or relative path to the settings file, string. Loads the specified file into the advanced mode if the file is a settings file.
read(prompt,type) Returns: object. Parameters: 1: Prompt to show user, string. Type of object to return, int. Shows the user a prompt and awaits input before continuing with the script. The entered value is returned and can be used in calculations in the script. Input types:0: bool, 1:int, 2:double, 3:string
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: