Jensen- 25 Posted February 13, 2018 Share Posted February 13, 2018 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 https://wrobot.eu/forums/topic/8610-runcode/ Share on other sites More sharing options...
Droidz 2742 Posted February 16, 2018 Share Posted February 16, 2018 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) Jensen- 1 Link to comment https://wrobot.eu/forums/topic/8610-runcode/#findComment-39440 Share on other sites More sharing options...
Jensen- 25 Posted February 16, 2018 Author Share Posted February 16, 2018 thx boss its working Link to comment https://wrobot.eu/forums/topic/8610-runcode/#findComment-39441 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now