Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
looping
#1
hi,


i am trying to loop my script over and over, but it doesnt seem to be working

i've added rep to the begining of my script
and tabbed all the lines below

it runs once, but doesn't loop, can anyone give some advice?
#2
Macro Macro177
Code:
Copy      Help
out "1"

Macro Macro178
Code:
Copy      Help
for int'i 0 5
,mac "Macro177"

Instead you could use functions:

Function bitterfunction
Code:
Copy      Help
function i

out "Write in the dashboard: %i - bitterlogic" i

Macro Macro179
Code:
Copy      Help
for int'i 0 5
,bitterfunction i
#3
Please post here your code that does not work.
#4
#region Recorded 2/2/2018 5:51:53 PM
opt save; opt slowkeys; opt slowmouse; spe 100
int w1=act(win("BEAST Cabal" "D3D Window"))
lef 497 367 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 507 372 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 487 380 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 559 390 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 472 360 w1 1 ;; 'BEAST Cabal'
lef 472 360 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 472 360 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
lef 472 360 w1 1 ;; 'BEAST Cabal'
'"-" ;; "-"
lef 472 360 w1 1 ;; 'BEAST Cabal'
'"0" ;; "0"
lef 471 360 w1 1 ;; 'BEAST Cabal'
'"9" ;; "9"
opt restore
#endregion

i want to run thi over and over and over can u please help


Forum Jump:


Users browsing this thread: 1 Guest(s)