bio33 12 Posted December 10, 2017 Share Posted December 10, 2017 how to make a bot open shells and bags? Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted December 10, 2017 Share Posted December 10, 2017 (edited) There are several ways. I think the most easy way would be to make a repeatable quest in an If statement checking for the shells and bags, like so: If wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1 Pulse a quest with as complete return (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1); * remember to set is as "is not require in questlog" and "is a repeatable quest" And run this code wManager.Wow.Helpers.ItemsManager.UseItem(xxxxx) || wManager.Wow.Helpers.ItemsManager.UseItem(xxxxx) to open them Endif wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) < 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) < 1 and then make a go to step every couple of steps if it have found more Or make a plugin that check for the items, and use it when its found :) Edited December 10, 2017 by Arcangelo Link to comment Share on other sites More sharing options...
eeny 521 Posted December 10, 2017 Share Posted December 10, 2017 5 hours ago, bio33 said: how to make a bot open shells and bags? I found that useful Link to comment Share on other sites More sharing options...
bio33 12 Posted December 11, 2017 Author Share Posted December 11, 2017 thanks i will try it Link to comment 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