Hello Guest

# help with my first script

• 3 Replies
• 277 Views

#### MrPanrox

• 3
• +0/-0
##### help with my first script
« on: June 01, 2020, 03:52:32 pm »
Hello folks..

This is my first script ..
to know if the script does what it is to do, my suggestion is to read the script first and try to find out from the code how it works.
After the script, you will have what I want from its operation and so we will know if my intention is in accordance with the script.

That said, it is because the script is not working and I have no idea why?

Quote
Code: [Select]
`-- by MrPanrox 2020resetseed()resetstats()chance    = 98 base      = 0.00000001 nextbet   = base bethigh   = truetarget    = balance + 0.0100000 --> meter aqui o valor de profit para parar losecount = 0wincount  = 0function dobet()if win then   nextbet=(previousbet*105)/100   wincount+=1   losecount=0   else     if wincount==89 then      resetseed()     nextbet=base     wincount=0end    if (!win) then   losecount += 1   if losecount == 1 then       nextbet = previousbet*51       bethigh = !bethigh                 else           losecount += 1                    if (losecount >=2 and <=3) then             nextbet = previousbet*51             bethigh = !bethigh               else               losecount += 1                     if (losecount ==4) then                      nextbet   = base                      losecount = 0    endif balance>target then   stop();   print("Parabens, chegou ao seu profit")endif (balance) < (nextbet) then      stop();   print(balance)   print("BANKROLL INSUFICIENTES")end  end end`

OK..
as stated the purpose of the script is:

- While winning increases by 5% on each bet up to 89 wins,
- When he reaches 89 wins, he returns to basebet,
- When he loses, he multiplies the last bet by 51x
- It multiplies up to a maximum of 2 lost bets, starting at 3, it returns to the base bet.
- When he loses, every two losses he turns the betting side (hi / lo)
- When the balance reaches balance + xxx, it stops and a print appears,
- When the balance is less than the value of the next bet, it stops.
General setup:
chance: 98%

« Last Edit: June 04, 2020, 10:16:06 am by MrPanrox »
Win is a matter of persistence ...

#### Seuntjie

• 496
• +14/-2
##### Re: help with my first script
« Reply #1 on: June 01, 2020, 04:01:55 pm »
You're not launching a challenge, you're asking for help. I think people are more inclined to help if you phrase it that way.

#### MrPanrox

• 3
• +0/-0
##### Re: help with my first script
« Reply #2 on: June 01, 2020, 04:10:05 pm »

The challenge is to read the script and try to find out what it does, before reading what I want from it.
This helps to better identify possible problems.
Win is a matter of persistence ...

#### MrPanrox

• 3
• +0/-0
##### Re: help with my first script
« Reply #3 on: June 04, 2020, 10:18:28 am »

As I understand it, a forum that is to help, did not have this purpose well.
Many views, and a single response was sent to criticize or request help.
Win is a matter of persistence ...