Timer problem error

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Timer problem error

Post by bob_the_builder » Fri May 28, 2004 8:36 pm

Having an issue with timers

This code

Code: Select all

Sub Main 
   /declare MyTimer timer outer
   /varset MyTimer 600s

   :Loop
      /echo ${MyTimer}
   /goto :Loop

/return 
Produces an error each second

No such "timer" member "NotEqual"

Any help apreciated. ANd thanks in advanced

Bob

NobodyImportant
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sun Nov 02, 2003 8:42 pm

Post by NobodyImportant » Mon May 31, 2004 12:13 pm

Hrmm, I copy and pasted your code and put it to work because i thought it looked ok, and i was right, it works just fine for me, maybe a compiling error you ignored? code works fine for me, might try taking off the outer tag on the timer, personally i dont add them to timers, but you will get an error stating the var is already in use when you re-start the mac. Other than that Im of no help, sorry.


Unless of course this code is just part of a bigger mac and you didnt post it.