Jump to content
croln4o

Macro HELP!

Recommended Posts

Hello guys am a rogue on the darrowshire realm and got my hands on gutgore ripper so i thought about using it as a mh for ambush then switching back to my sword and i found this macro:
/cast Ambush(rank 6)
/script PickupContainerItem (x, y)
/script PickupInventoryItem (16)
/script PickupContainerItem (x, y)
/script PickupInventoryItem (17)
/script AttackTarget();

But all it dose is keep switching between the dagger and the sword and it dosnt cast ambush at all if you guys have any solution to this please post it : ).

Share this post


Link to post
Share on other sites
/run local dagger = ({GetItemInfo(({strfind(GetInventoryItemLink("player",16),"item:(%d*):")})[3])})[6] == "Daggers" if dagger then PickupInventoryItem(16) EquipCursorItem(17) end

This macro will swap your weapon if it's a dagger, but it will swap it even if Ambush fails to cast.  Easiest way would be to put ambush into a slot in your main action bar, and this macro in the corresponding slot of the bar while not stealthed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×