Last active
April 18, 2021 06:53
-
-
Save mydicebot/e09a1090e51ad003357cf6b150fc36c0 to your computer and use it in GitHub Desktop.
Basic Sample #MyDiceBot#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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
this is a test comment :)