You can use "While"
fx.
Code:
While 1 = 1
act win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800)
act win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800)
int w1=act(win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800))
lef 515 340 w1
key F11
'(255)F11
lef 400 92 child("" "#32770" win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800) 0x1)
lef 697 177 0 1
// Delay for 1800 seconds or 30 minutes
Delay 1800
EndWhile
That will make an infinite loop..
Or use "For", to make it run x times
For 20, will make the script run 20 times..
Code:
For 20
act win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800)
act win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800)
int w1=act(win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800))
lef 515 340 w1
key F11
'(255)F11
lef 400 92 child("" "#32770" win("[Conquer2.0]" "Afx:400000:0:10011:0:*""" 0x800) 0x1)
lef 697 177 0 1
// Delay for 1800 seconds or 30 minutes
Delay 1800
EndFor