Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need little help to run unknow script which i find but just for use not sell of course #72

Open
Yordan123123 opened this issue Aug 8, 2020 · 1 comment

Comments

@Yordan123123
Copy link

i look the console the first error its LUA ERROR!!
Unexpected Symbol '' i know this i will repair it maybe its this ( print (''\n\n'')
print(>>>Profit reached: ''__ profit)
print (''\n\n'') )

But i cant find what is next error is this one ( LUA ERROR!!
Unexpected Symbol ''
LUA ERROR!!
assignment statement expected, got '2'
)

chance = 50
base = 0.0000001
base1 = 0.0000002
target = balance*1.1

base2 =base1
nexbet =base
bethigh =false
balance2 =balance
multi =1.18

function dobet()

if balance > balance2 then
base 2 = base * 1.5
balance2 = balance
else
base2 = balance2 - balance
if base2 < base * 1.5 then
base2 = base* 1.5

end
end

bethigh = true

if balance <nextbet then
stop()
print (''\n\n'')
print(>>>Profit reached: ''__ profit)
print (''\n\n'')
end

if base 2 <base1 then
base2=base1
end

chance=math.random(30, 55 )

if profit >0 then
base2=base1
end

if win then
chance = math.random ( 10, 15)
nexbet = base
else
nextbet = previousbet*multi
end

if currentstreak === -1 then
chance = math.random( 10 , 15 )
nextbet= previousbet
end

if currentstreak === -2 then
chance = math.random( 10 , 15 )
nextbet= previousbet
end

if currentstreak === -2 then
base2=previousbet
end

if currentstreak === -3 then
chance = math.random( 10 , 15 )
nextbet= previousbet
end

if currentstreak === -3 then
base2=previousbet
end

if currentstreak === -4 then
nextbet = (balance2 - balance )* multi
chance= math.random(15, 50 )
end

print ( ''currentstreak='' __currentstreak)
print(''chance=''__chance )
end

@fallenangel3k
Copy link

i guess you fixed it... but in case not:

  1. it's "base2" and NOT "base 2" (the space is the problem)
  2. the variables must be without the "__", also it's "currentprofit" and NOT "profit"
  3. it's "==" not "==="
  4. there's a double "end" on the bottom. only one needed.

then it worked for me in Mydicebot at least.

greetz,

Marcus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants