Sample - Hunt 3 different specific numbers #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
chance = 98 | |
nextbet = 0.000001 --minimum required bet for the hunt | |
bethigh = false | |
currency = "Btc" | |
numbersToHunt = {99.99,77.77,0} --numbers you aim for | |
function dobet() | |
if containedInSet(lastBet.Roll, numbersToHunt) then | |
print(lastBet.Roll) | |
print(lastBet.Id) | |
ching() | |
stop() | |
end | |
end | |
function containedInSet(x, set) | |
for key, value in pairs(set) do | |
if x == value then | |
return true | |
end | |
end | |
return false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment