ok... when i execute an alias called "doprots" it calls the script OnDoProts which looks like this:
Sub OnDoProts(strAliasName, strOutput, arrWildCards)
Dim CurrentTime, Elapsed
CurrentTime = Now()
Elapsed = DateDiff("s", AuraTime, CurrentTime)
aura = Elapsed
Elapsed = DateDiff("s", GrapTime, CurrentTime)
graptime = Elapsed
greater = world.getvariable ("greater")
World.Send "ps IW [on] for " & aura & "s, Greater ["&greater&"] for "&graptime&"s"
End Sub
When that is done, the last timer that was checked (if one of them is NOT active) automatically adds 3246777681 to the current value of it. Is there a way to make it so that it doesnt add the value to it or am I just doing something wrong?
Neverwhere
Sub OnDoProts(strAliasName, strOutput, arrWildCards)
Dim CurrentTime, Elapsed
CurrentTime = Now()
Elapsed = DateDiff("s", AuraTime, CurrentTime)
aura = Elapsed
Elapsed = DateDiff("s", GrapTime, CurrentTime)
graptime = Elapsed
greater = world.getvariable ("greater")
World.Send "ps IW [on] for " & aura & "s, Greater ["&greater&"] for "&graptime&"s"
End Sub
When that is done, the last timer that was checked (if one of them is NOT active) automatically adds 3246777681 to the current value of it. Is there a way to make it so that it doesnt add the value to it or am I just doing something wrong?
Neverwhere