I'm using this:
rem Author - Keoeeit
rem Upgraded by Mika Tanninen
rem Time accuracy and shutdown for a710is by Viktoras Stanaitis
rem h-accuracy for delay, j-accuracy for interval
rem Zoom by Frollino frollino@recapito.net
h=-1
j=-1755
@title Ultra Intervalometer Zoom
@param a Delay 1st Shot (Mins)
@default a 0
@param b Delay 1st Shot (Secs)
@default b 0
@param c Number of Shots (0 inf)
@default c 0
@param d Interval (Minutes)
@default d 0
@param e Interval (Seconds)
@default e 10
@param f Interval (10th Seconds)
@default f 0
@param g Zoom (0-8)
@default g 2
rem JPEG best quality
set_prop 23 0
rem Zoom 0-8 for A Serie and 0-14 for S Serie etc...
set_zoom 0
set_zoom_rel g
n=0
t=(d*600+e*10+f)*100+j
if c<1 then let c=0
if t<100 then let t=100
g=(a*60)+b+h
if g<=0 then goto "interval"
for m=1 to g
print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
sleep 930
next m
:interval
n=n+1
if c=0 then print "Shot", n else print "Shot", n, "of", c
shoot
if n=c then shut_down
sleep t
goto "interval"
Where do in need to put the set_aflock function?
What it does?