Skip to content

Instantly share code, notes, and snippets.

@mydicebot
Created April 27, 2020 06:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mydicebot/325594cd23605f2d230a0355f8139110 to your computer and use it in GitHub Desktop.
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