I am writing vbscript to accompany scala script from some other software, I am trying to do a count up clock for a soccer match but the time runs off like crazy after the first three seconds can someone help plz :
set WSCript=CreateObject("ScalaPlayer.ScalaPlayer.1")
'this script only runs as long as timer =1.
while timer = 1
WSCript.sleep (1000)
csec1=csec1+1
if csec1= 60 then
csec1 = 0
cmin1 = cmin1+01
end if
wend
set WSCript=CreateObject("ScalaPlayer.ScalaPlayer.1")
'this script only runs as long as timer =1.
while timer = 1
WSCript.sleep (1000)
csec1=csec1+1
if csec1= 60 then
csec1 = 0
cmin1 = cmin1+01
end if
wend