Variable bug?

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Smash
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sun Oct 19, 2003 4:56 pm

Variable bug?

Post by Smash » Thu Apr 22, 2004 5:07 am

Earlier today I was trying to convert a macro over to the new MQ2Data system, but the old variables were not being parsed correctly.

Code: Select all

/declare loc_x global
/declare loc_y global

/varset loc_x ${Me.X}
/varset loc_y ${Me.Y}
When I ran this through the macro, echo'ing out the value of either variable, it would print "@loc_x" or "@loc_y". The only way I could get this fixed, was to remove the underscore from the variables.

As soon as they became "locx" and "locy", everything worked normally. I'm not sure if this is intentional or not, if it was, then I missed a post or two somewhere.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Apr 22, 2004 7:13 am

Someone just posted this exact thing yesterday. Start reading the forums or you are going to have issues keeping up with Lax.