0% found this document useful (0 votes)
92 views2 pages

Inc SC v1

dicebot script

Uploaded by

yanmikhlin34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views2 pages

Inc SC v1

dicebot script

Uploaded by

yanmikhlin34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

game = "dice"

-- Parameters
chance = 50
basebet = 0.11 -- Preferably at least 1/10th of balance
minbet = 1e-8
bethigh = true
nextbet = minbet
w = 0
l = 0
hi = 0
lo = 0
ath = balance
betcount = 0

-- Main betting function


function dobet()
betcount = betcount + 1

if (lastBet.roll >= 50) then


hi = hi + 1
lo = 0
else
lo = lo + 1
hi = 0
end
if (hi>=2) then
sleep(3)
bethigh = false
basebet = basebet - 0.01
nextbet = basebet
elseif
(lo>=2) then
sleep(3)
bethigh = true
basebet = basebet - 0.01
nextbet = basebet
end

if previousbet > minbet then


if win then
w = w + 1
basebet = 0.11
nextbet = minbet
end
end

-- Check if new all-time high balance and reset variables if true


if (balance > ath) then
ath = balance
basebet = 0.11
nextbet = minbet
end

-- Print the current state for debugging


print("Last Roll: " .. tostring(lastBet.roll))
print("Current Bet: " .. tostring(nextbet))
print("Betting on: " .. (bethigh and "High" or "Low"))
print("Base bet wins: " .. tostring(w))
print("Base bet losses: " .. tostring(l))
end

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy