Skip to content

MyDiceBot v20.4.25 - start() & resume() in scripting

Compare
Choose a tag to compare
@mydicebot mydicebot released this 25 Apr 11:09
· 16 commits to master since this release

MyDiceBot v20.4.25 - start() & resume() in scripting

  • Attention: Available in Desktop/Browser/Android edition, not available in console edition

start()

Function Purpose
start() Start the bet (from very beginning) after stop()

start_function_code

start_function_log

resume()

Function Purpose
resume() Resume the bet (from current stopping) after stop()

resume_function_code

resume_function_log

  • Demo code of start() & resume() in gist

gist_demo_start_resume

Internal Functions

Function Purpose
dobet() The loop of bets
stop() Stop the bet
start() Start the bet (from very beginning) after stop()
resume() Resume the bet (from current stopping) after stop()
resetsession() Reset the session
resetseed() Reset the client seed
sound(path_of_the_sound) Sound notificaiton
message(text, type='debug', expire=time_interval_value_in_ms) Message notification on the screen. Four types: "info", "success", "debug", or "error". Expire interval is 4000 ms by default, -1 for not hiding the message.

Fixing

  • clear chart when 'reset session'

Supporting Dice Sites (alphabet sequence)

Traditional

Telegram Bot

Faucet

Mining

Exchange