Novità

richiesta x modifica script spaziometria

alipante

Junior Member
salve a tutti,
da premettere che non capisco niente di script, ma vorrei imparare.
girando un po sulla rete ho trovato uno script x me interessante che volevo fare delle modifiche ma non riesco xche' non capisco tutte le istruzioni.( se si potessero mettere i commenti alle istruzioni potrei studiarle)
questo script non fa altro che la ricerca su ogni ruota di una probabile ambata, vorrei che il sommativo trovato, oltre a farlo con i 90 numeri lo facesse anche con tutte le estrazioni delle ruote.

es:
lo script ora ricava la ruota + un numero ( 2°ba + 56)

io vorrei che ricavasse anche ruota + ruota ( 3°nz + 5 na)

se e' possibile far cercare oltre all' ambata anche un numero fisso che esce sempre insieme all'ambata stessa

vi allego lo script

grazie di tutto


Option Explicit
Sub Main()
ColoreTesto 1
Scrivi
Scrivi String(38,"*") & " TROVA AMBATE SOMMATIVE SU INDICE MENSILE " & String(41,"*"),1
Scrivi
ColoreTesto 0
Scrivi
Dim som(5,90)
Dim estr(5)
Dim Val(5,90)
Dim amb(90)
Dim es,nmc,perc,ncg,ultest,n,z,trovato
Dim nn,r2,s,i
Dim r,Valido,k2,k3,j
Dim k,zz,m,nv



es = InputBox("ESTRAZIONE MENSILE? (Inserisci 0 Per l'ultima, 1 per la prima, ....)",,10)
nmc = InputBox("NUMERO DI MESI?",,7)
perc = InputBox("PERCENTUALE ESITI? (50-100)",,90)
ncg = InputBox("COLPI DI GIOCO?",,7)
ultest = EstrazioneFin
n = EstrazioneFin
z = 0
trovato = False
While z < eval(nmc)
If(((eval(es) = 0)And(n = ultest))Or((IndiceMensile(n) = eval(es)And(eval(es) > 0))Or((IndiceMensile(n + 1) = 1)And(eval(es) = 0)))) Then
z = z + 1
End If
n = n - 1
Wend
nn = n + 1
For r2 = 1 To 12
If r2 = 11 Then r2 = 12
Scrivi
Scrivi String(110,"*"),1
Scrivi String(110,"*"),1
Scrivi
For i = 1 To 90
amb(i) = 0
Next
If eval(es) = 0 Then
s = "All'ultima"
Else
s = "Alla " + es
End If
s = s + "° estrazione del mese per "
If eval(ncg) = 0 Then
s = s + "un mese:"
Else
If eval(ncg) = 1 Then
s = s + ncg + " colpo"
Else
s = s + ncg + " colpi"
End If
End If
ColoreTesto 0
Scrivi s
ColoreTesto 1
Scrivi "Quantità mesi Impostati: " & nmc & "",1
ColoreTesto 0
Scrivi "Statistica dal: " + DataEstrazione(nn) + " al: " + DataEstrazione(EstrazioneFin),1
ColoreTesto 2
Scrivi "Percentuale Impostata: " & perc & "%",1
Scrivi
Scrivi "RUOTA DI " & NomeRuota(r2),1
Scrivi
For r = 1 To 12
If r = 11 Then r = 12
z = 0
For i = 1 To 5
For j = 1 To 90
som(i,j) = 0
Val(i,j) = True
Next
Next
For i = 1 To 5
estr(i) = 0
Next
Valido = False
For n = nn To EstrazioneFin
If eval(es) = 0 Then m = n + 1 Else m = n End If
If(((eval(es) = 0)And(n = ultest))Or((IndiceMensile(n) = eval(es)And(eval(es) > 0))Or((IndiceMensile(n + 1) = 1)And(eval(es) = 0)))) Then
z = z + 1
For i = 1 To 5
estr(i) = Estratto(n,r,i)
Next
For i = 1 To 5
For j = 1 To 90
Val(i,j) = True
Next
Next
k2 = eval(ncg)
k3 = n + k2
If k3 > EstrazioneFin Then k3 = EstrazioneFin End If
For nv = n + 1 To k3
For i = 1 To 5
For j = 1 To 5
k = Estratto(nv,r2,j) - estr(i)
While k <= 0
k = k + 90
Wend
If Val(i,k) = True Then
som(i,k) = som(i,k) + 1
Val(i,k) = False
End If
Next
Next
Next
End If
Next
For i = 1 To 5
For j = 1 To 90
zz = Int((z/100)*perc)
s = CStr(eval(i)) + "° di " + FormatSpace(NomeRuota(r),13) + " + " + Format2(CStr(eval(j))) + " su "
s = s + FormatSpace(NomeRuota(r2),12) + " è uscito " + CStr(som(i,j)) + " Volte Su " + CStr(eval(z))
s = s + " : Previsione: " + FormatSpace(CStr(Fuori90(eval(estr(i) + j))),3)
If(Val(i,j) = True) Then s = s + " " & ColoreTesto(0) & " In Gioco " Else s = s + " " & ColoreTesto(2) & " Già Uscito " End If
If som(i,j) >= zz Then
Scrivi s
amb(Fuori90(eval(estr(i) + j))) = amb(Fuori90(eval(estr(i) + j))) + 1
ColoreTesto 0
End If
Next
Next
Next
ColoreTesto 2
Scrivi
Scrivi "********** NUMERI - CONVERGENTI **********",1
ColoreTesto 0
For i = 1 To 90
If(amb(i) > 1) Then
Scrivi Format2(CStr(eval(i))) + ": CONVERGENTE IN " + Format2(CStr(eval(amb(i)))) + " SISTEMI"
End If
Next
If ScriptInterrotto Then Exit For
Next
End Sub[/CODE]
 

Ultima estrazione Lotto

  • Estrazione del lotto
    martedì 04 agosto 2026
    Bari
    40
    77
    49
    65
    43
    Cagliari
    75
    06
    03
    62
    15
    Firenze
    42
    04
    69
    27
    43
    Genova
    05
    47
    57
    50
    89
    Milano
    37
    88
    01
    85
    42
    Napoli
    33
    28
    45
    18
    23
    Palermo
    04
    70
    38
    58
    85
    Roma
    62
    18
    28
    59
    43
    Torino
    86
    24
    40
    34
    61
    Venezia
    25
    12
    78
    53
    39
    Nazionale
    49
    07
    65
    62
    70
    Estrazione Simbolotto
    Nazionale
    35
    24
    36
    05
    12

Ultimi Messaggi

Indietro
Alto