Jump to content

Recommended Posts

hey 

is there a way to execute runcode in quest order editor only once

wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-2376.27, -1995.74, 96.70491), 7714)
wait 500
Lua.LuaDoString("GossipTitleButton2:Click();");
wait 1000
Lua.LuaDoString("BuyMerchantItem(5,2)");

the next one is

Pickup> Owatanka 

it picks it, and after i get a dc or restart, the bot is executing the code instead of playing from last position it was

Link to comment
Share on other sites

Hello,

Use:

- step type "While" with the code:

!wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-2376.27, -1995.74, 96.70491), 7714)

- step "EndWhile"

- step "Wait" with:

500

- step "RunLuaCode" with code:

GossipTitleButton2:Click();

- step "Wait" with:

1000

- step "RunLuaCode" with code:

BuyMerchantItem(5,2)

 

(not tested)

Link to comment
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
×
×
  • Create New...