Skip to content

Instantly share code, notes, and snippets.

@mydicebot
Last active April 18, 2021 06:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mydicebot/e09a1090e51ad003357cf6b150fc36c0 to your computer and use it in GitHub Desktop.
Save mydicebot/e09a1090e51ad003357cf6b150fc36c0 to your computer and use it in GitHub Desktop.
Basic Sample #MyDiceBot#
# Sample script, you can code here and then 'Save As..' to another named file.
# Author: MyDiceBot
chance = 49.5
multiplier = 2
basebet = 0.00000001
bethigh = False
nextbet = basebet
def dobet(event):
if win:
sound('alert1.mp3')
nextbet = basebet
else:
nextbet = previousbet * multiplier
@mydicebot
Copy link
Author

this is a test comment :)

@Arkadio918
Copy link

Arkadio918 commented Apr 18, 2021

How did you removed the global statements?
How did you removed the return???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment