Heading Check Boggle

Mponthepc

Big Gnobody
Joined
Mar 16, 2006
Messages
96
Reaction score
1
Points
0
I'm getting lost in brackets!

I'm writing a simple mac and I'm screwing up the syntax. The condition I was is basically if my heading matches the direction I want to face to get to my target I get a beep.

I have:

Code:
/if (${Target.HeadingTo}.Equal[${Me.Heading}]}) /beep

I'm getting an error with that though. I'm sure I just have something miss bracketed or something.
 
Code:
/if (${Target.HeadingTo.ShortName.Equal[${Me.Heading}]}) /beep

Keep in mind /beep will not work on vista. So you would have to use playsound.

htw