no target

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

Moderator: MacroQuest Developers

Chamse
decaying skeleton
decaying skeleton
Posts: 1
Joined: Tue Nov 16, 2010 3:59 am

no target

Post by Chamse » Wed Nov 17, 2010 5:01 am

Is there any way to determine if i have a target or have no target?

drzoon
a hill giant
a hill giant
Posts: 239
Joined: Tue May 04, 2004 5:38 pm

Re: no target

Post by drzoon » Wed Nov 17, 2010 6:13 am

Code: Select all

/if (${Me.Target.ID}) {
  /echo I have a target
} else {
  /echo I have no target
}