• 1 page(s)
In-Game If Statement

I'm wanting to make a simple in-game macro that does the following:

When I click on it, if either Kill Command or Mongoose Bite can be cast, one gets cast and then upon the second click, the other gets cast (if both are able to be cast and assuming the second click happens after the small cooldown).

I realize this is something of a "/script if MongooseBite.isCastable()=true then cast Mongoose Bite(Rank 1)" sort of thing. But I know what I have written will not work.

What I need to know is:

Is this possible? And, if so:
What is the correct "if" statement I should use to make this work?

Here's the C/C++ equivalent of what I want:

void yep()
{
if (MongooseBite.isReady == 1)

   cast("Mongoose Bite(Rank 1)");

else if (KillCommand.isReady == 1)

   cast("Kill Command(Rank 1)");

}

Report this thread post

would a cast sequence work for this?

check out /castsequence

Report this thread post

No, "smart decisions" like this is what was protected in 2.0.

Grab your sword and fight the Horde!

Shattered Hand-EU

Report this thread post
  • 1 page(s)
Subscribe to this thread: (you will receive emails when new posts are made)