hint please "Bad variable in /var function."

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

RDPidb
a lesser mummy
a lesser mummy
Posts: 69
Joined: Mon Dec 15, 2003 1:14 am

hint please "Bad variable in /var function."

Post by RDPidb » Mon Dec 15, 2003 1:21 am

hello,
Im getting
"Bad variable in /var function."
"routines.mac@57 (Autorun) : /varset v80 $p0"

while tryign to run the bazarr buy macro.
I have searched for an hour on this forum and cant figure it out, not askign for it to be handed to me, but maybe a hint of where / what to look at please ?

thanks
-Ryan

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Mon Dec 15, 2003 1:47 am

You need to update your routines.mac file to support the new macro variable format.
Last edited by GD on Mon Dec 15, 2003 2:05 am, edited 1 time in total.
Opinions are like assholes, everyone has one, but most of them stink.

RDPidb
a lesser mummy
a lesser mummy
Posts: 69
Joined: Mon Dec 15, 2003 1:14 am

Post by RDPidb » Mon Dec 15, 2003 1:58 am

My routines.mac file contains:

Sub AutoRun
/if $p0==$v80 /return
/varset v80 $p0
/if $p0==1 /sendkey down up
/if $p0==0 /sendkey up up
/return

as well as the subroutines for the bazaar.mac
which is found here:
http://macroquest2.com/phpBB2/viewtopic.php?t=4540

what is this specificaly "v80" do i need to define this variable somewhere?

RDPidb
a lesser mummy
a lesser mummy
Posts: 69
Joined: Mon Dec 15, 2003 1:14 am

Post by RDPidb » Mon Dec 15, 2003 12:16 pm

ah, ok ithey changed the format I missed that part, I will do some searching, thanks for the fast response.
-Ryan