shenwu0702 0 Posted December 13, 2017 Share Posted December 13, 2017 1.How to use the function runcode control switch 2.Game too much sweet language automatically shut down the game,//>wManager.wManagerSetting.CurrentSetting.CloseIfWhisperBiggerOrEqualTo = 10000;<//Where is the error? 3.Pet skills to switch what API control?======>? Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/ Share on other sites More sharing options...
Droidz 2738 Posted December 13, 2017 Share Posted December 13, 2017 Hello, 1: You cannot. 2: is is: wManager.wManagerSetting.CurrentSetting.CloseIfWhisperBiggerOrEgalAt = 10000; 3: Use lua http://vanilla-wow.wikia.com/wiki/World_of_Warcraft_API shenwu0702 1 Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/#findComment-36589 Share on other sites More sharing options...
shenwu0702 0 Posted December 13, 2017 Author Share Posted December 13, 2017 Thanks Droidz, How to use this function in wrbotthere is a tutorial? I am a novice /////////////////////////////Add the first question/////////////////// Sometimes I need to buy a piece of equipment in the supplier, But this plugin will right-purchase my equipment for the moment, sell it, So I would like to close the plug-in at the time of purchase, open the plug-in after closing the dialog box, what should I do? Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/#findComment-36601 Share on other sites More sharing options...
Matenia 628 Posted December 13, 2017 Share Posted December 13, 2017 PetActionButton5:Click("RightButton") http://wowwiki.wikia.com/wiki/API_Button_Click https://github.com/ericraio/vanilla-wow-addons/tree/master/s/SmartPet Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/#findComment-36606 Share on other sites More sharing options...
shenwu0702 0 Posted December 13, 2017 Author Share Posted December 13, 2017 5 hours ago, Matenia said: PetActionButton5:Click("RightButton") http://wowwiki.wikia.com/wiki/API_Button_Click https://github.com/ericraio/vanilla-wow-addons/tree/master/s/SmartPet How to use this API?////? This does not seem like it! Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/#findComment-36623 Share on other sites More sharing options...
Matenia 628 Posted December 13, 2017 Share Posted December 13, 2017 RunCode is C#, RunLuaCode is correct. But this looks like you are using the quester, you should be using this as part of your fightclass. Also, if you are using " within a string, they need to be escaped, so it would be (in C#): Lua.LuaDoString("PetActionButton5:Click(\"RightButton\")"); Link to comment https://wrobot.eu/forums/topic/7982-plug-in-switch-and-ifwhisper/#findComment-36624 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