source: trunk/script/interval.bas @ 985

Revision 985, 412 bytes checked in by pixeldoc2000, 2 years ago (diff)

script/*.bas cleanup

  • Property svn:eol-style set to LF
Line 
1rem Interval shooting
2
3@title Interval shooting
4@param a Shoot count
5@default a 10
6@param b Interval (Minutes)
7@default b 0
8@param c Interval (Seconds)
9@default c 10
10
11t=b*60000+c*1000
12if a<2 then let a=10
13if t<1000 then let t=1000
14
15print "Total time:", t*a/60000; "min", t*a%60000/1000; "sec"
16
17sleep 1000
18
19print "Shoot 1 of", a
20shoot
21
22for n=2 to a
23    sleep t
24    print "Shoot", n, "of", a
25    shoot
26next n
27
28end
Note: See TracBrowser for help on using the repository browser.