LUA for auto using a hotkey/skill after parsing chat
Posted: Mon Nov 23, 2009 5:17 am
hy guys!
i play the game for a long time now, and have using the bot successfully
however i do have a question: i want my bot to run with a healer after him, and heal him when necessary.
so i made a macro of each of the fighters, to automatically send a help message to the party chat, for example:
"healerchar heal"
and i would like a simple addon, that parses that message, and if the character is healerchar, then he should either press the hotkey assigned to his heal spell, or somehow do the useaction to use an action button, or just use the spell with the UseSkill(1,1); function.
i would be very grateful if someone would write an addon that does that, bc i am very noob in LUA, or if its too long, just to tell me how should i do that.
i think it would be useful for others too, that use the bot+dualboxing a priest to heal.
thx for reading i hope some1 can help
EDIT i know i can use an autoheal addon for thet, but that doesnt work anymore, and i do want priests to cast other spells as well, depending on the situation
i play the game for a long time now, and have using the bot successfully
however i do have a question: i want my bot to run with a healer after him, and heal him when necessary.
so i made a macro of each of the fighters, to automatically send a help message to the party chat, for example:
"healerchar heal"
and i would like a simple addon, that parses that message, and if the character is healerchar, then he should either press the hotkey assigned to his heal spell, or somehow do the useaction to use an action button, or just use the spell with the UseSkill(1,1); function.
i would be very grateful if someone would write an addon that does that, bc i am very noob in LUA, or if its too long, just to tell me how should i do that.
i think it would be useful for others too, that use the bot+dualboxing a priest to heal.
thx for reading i hope some1 can help
EDIT i know i can use an autoheal addon for thet, but that doesnt work anymore, and i do want priests to cast other spells as well, depending on the situation