Quoted from "hajameslo2;138291"
ok first can someone send me a macro for a actoin like mining then a macro for going to a locatoin and targeting the thing in front of you or targetting a locatoin and also is there a macro cammand for targetting resourses
Quoted from "SlothfulJim;145852"
For first, thanks to Sixpax that corrected my problems. Well, actually I guess I miss something because I thought that macros like <</script if (UnitHealth("player")/UnitMaxHealth("player")<=.85) then UseAction(9); end>> would enter in action when the health goes under 85%...but actually this macro works only if i press its button. Do you have any ideas about the reason of this thing? Otherwise I'll simply click on the potion, without creating a macro....
Hope you'll answer soon and thanks too.
Quoted from "SlothfulJim;145852"
I have another problem, cause I copied and pasted your Targetnearestenemy macro that you link in the first page, but it doesn't work: it make my char say nothing, in other words it's like when you send a chat message without writing anything.
Quoted from "SlothfulJim;147323"
Again thanks Sixpax,
You meant that i must look for a specific code that check the if stetement exist.... I searched but I found something but I don't understand it very well...Since I did a little Turbopascal at school, I thought that if statements included his own check...
Quoted from "SlothfulJim;147323"
I also checked the link at the bottom of your window, but I can't understand a thing: by creating the folder you suggest, are we still talinkg about macros, or about addon?
Quoted from "SlothfulJim;147323"
P.S. Can you tell me your in-game nick and server, so we can directly talk?
Quoted from "othercat;27373"
I don't think I've seen any autoloot-related macros yet, so here are two simple ones that I've found useful.
^Enables/Disables Autoloot on the fly. I kept forgetting to turn it off when I didn't need to be a Hoover, and didn't really like digging into the appropriate menus while getting the snot beat out of me in an instance.
![]()
Source code
1 /script if (BOOTYFRAME_AUTO_TAKE==true) then BOOTYFRAME_AUTO_TAKE=false; else BOOTYFRAME_AUTO_TAKE=true; end
^Checks to see if Autoloot is enabled. Quicker than digging through the menu to check on it if I can't remember which way it's set.
![]()
Source code
1/script if (BOOTYFRAME_AUTO_TAKE==true) then DEFAULT_CHAT_FRAME:AddMessage("Auto Loot Enabled!"); else DEFAULT_CHAT_FRAME:AddMessage("Auto Loot Disabled!"); end
|
|
Source code |
1 |
/script if (BOOTYFRAME_AUTO_TAKE==true) then BOOTYFRAME_AUTO_TAKE=false,DEFAULT_CHAT_FRAME:AddMessage("Autoloot Disabled!"); else BOOTYFRAME_AUTO_TAKE=true,DEFAULT_CHAT_FRAME:AddMessage("Autoloot Enabled!"); end
|
Quoted from "Plecad;156655"
Thanks again, Jsalemi. I presume the .75 is interpreted as three-quarters of a second? I have another question. The range of my Wind Arrows is longer than that of Autoshot and Vampire Arrows and they are both longer than the range of Lightning. Is there a way I can design a macro that casts a spell as soon as the target is within range and doesn't try to do it before? That is, I wait to cast the macro until the Wind Arrows are in range. Assume I write the macro so that I insert a .75 wait after Wind Arrows and before Autoshot. Once the macro starts, it will cast Wind Arrows, wait .75, then how can I get it to wait until Autoshot is in range? Or will I have to wait until all the spells in the macro are within range before launching the macro?
Quoted from "Plecad;157085"
GetActionUsable()? Is that a macro command? Do you put a slash in front of it? And I presume that what goes between the brackets is the spell name? So would it be /Flame then on the next line /wait .75 then on the next line /GetActionUsable(Autoshot)? Thanks for your help.
|
|
Source code |
1 |
/run if GetActionUsable(1) then UseAction(1) elseif GetActionUsable(2) then UseAction(2) else UseAction(3) end |