Sample - Hunt 3 different specific numbers #mydicebot#
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