May 29, 20169 yr hi, im looking for something to execute my code e.g. Spoiler internal void ApplyPoison() { if (ObjectManager.Me.IsMounted) return; if ( !ObjectManager.Me.GetMove && !ObjectManager.Me.InCombat && Lua.LuaDoString<string>("hasMainHandEnchant = GetWeaponEnchantInfo(); return hasMainHandEnchant; ") != "1" ) { Lua.LuaDoString("CancelItemTempEnchantment(1)"); ItemsManager.UseItem("Instant Poison IX"); Lua.LuaDoString("RunMacroText('/use 16')"); Thread.Sleep(3500); return; } } by a macro ingame => /applypoison Any suggestions?
May 29, 20169 yr Am I understanding this right? You want to press the Macro-Key first. After that WRobot should run your code?
May 30, 20169 yr The only way is to press a key, then run your code an then press your macro key :) but this is hard to code :/ Gesendet von meinem D6603 mit Tapatalk
Create an account or sign in to comment