Syntax prob?

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

I R monk
orc pawn
orc pawn
Posts: 28
Joined: Tue Dec 10, 2002 4:29 pm

Syntax prob?

Post by I R monk » Mon Jan 19, 2004 9:09 pm

Sub Main

/Declare Mobx global
/Declare Moby global

:Start

/call Setloc
/call MoveTospot
/end

Sub Setloc

/varset Mobx 75.00
/varset Moby -655.63

/return

Sub MoveTospot
/face nolook loc @Moby,@mobx

/return


For some reason its not accepting the number.

if i do a /face nolook loc -655.00,75.00 its happy
but the @Moby,@mobx just wont work.

Any thoughts?

dman
a hill giant
a hill giant
Posts: 181
Joined: Fri Dec 05, 2003 12:54 pm

Post by dman » Mon Jan 19, 2004 9:26 pm

/varset Mobx 75.00
/varset Moby -655.63
/face nolook loc @Moby,@mobx
Variables are case sensitive.

I R monk
orc pawn
orc pawn
Posts: 28
Joined: Tue Dec 10, 2002 4:29 pm

Post by I R monk » Mon Jan 19, 2004 9:44 pm

its always the small stuff we over look lol. thanks