How do I forward in game variables to micromacro?
for example:
/run DEFAULT_CHAT_FRAME:AddMessage(GetActionCooldown(2)) -- returns the skills cooldown in game
I want the bot to get the data when executing GetActionCooldown and other functions not necessarily related to the action bar.
Thanks in advance
Returning variables
Re: Returning variables
Code: Select all
cooldown = RoMScript(GetActionCooldown(2))
if cooldown == 5 then
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Returning variables
well that was easy lol
I was using sendMacro and it wasn't working as I wanted it to.
So here's the next part. Check out an addon called Itempreview. If you send it IDs, it will send you back the buff/debuff/skill.
So we can send the game IDs whenever we get "Table not found for ID:" and find out what it is.
I was using sendMacro and it wasn't working as I wanted it to.
So here's the next part. Check out an addon called Itempreview. If you send it IDs, it will send you back the buff/debuff/skill.
So we can send the game IDs whenever we get "Table not found for ID:" and find out what it is.
Re: Returning variables
RoMScript and sendMacro are essentially the same but sendMacro prints a green message to the micromacro window when used.fobsauce wrote:I was using sendMacro and it wasn't working as I wanted it to.
Yes we are aware of itempreview. I don't think it will be a solution as we have to understand why we are getting the error in the first place. Getting some info from itempreview wont fill the missing parts of the memorytable. I haven't heard of anyone getting these errors lately. Are people still getting them with 4.0.0?fobsauce wrote:So here's the next part. Check out an addon called Itempreview. If you send it IDs, it will send you back the buff/debuff/skill.
So we can send the game IDs whenever we get "Table not found for ID:" and find out what it is.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Returning variables
I did at first after the patch but for the last few days I haven't seen any table not found. So no idea.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Returning variables
I'm getting it when I put a debuff on the target.
In particular, shadowstab, which causes bleed, 620313.
In particular, shadowstab, which causes bleed, 620313.
Who is online
Users browsing this forum: Semrush [Bot] and 0 guests