Page 1 of 1
Macro help
Posted: Wed Oct 05, 2011 3:20 pm
by jboggan
does any1 know anything good about macros very well?
im workin on one for a friend to disenchant items on command in her bag
i have
"/script for i=1,180 do local d,_,n=GetBagItemInfo(i)if n and n=="Item_Name"and string.find(GetBagItemLink(d),"cffffffff")then CastSpellByName("Disenchanting")PickupBagItem(d)end end"
it is so that it will auto dismantle the white items in slot 1-180 but all it is doin is just /say the whole macro command.
Re: Macro help
Posted: Wed Oct 05, 2011 9:20 pm
by rock5
I don't know much about macros but if it starts with /script it shouldn't be "saying" it. Is /script correct for your language?
Re: Macro help
Posted: Wed Oct 05, 2011 9:23 pm
by lisa
CastSpellByName
won't work after patch, at this stage.
Re: Macro help
Posted: Wed Oct 05, 2011 10:01 pm
by jboggan
castbyname will work actually if u have ExtraActionBar addon. u put the macro in the hoctkey action bar that the addon gives u and castbyname works. i have done it for just /script CastSpellByName("Disenchanting") and it pops the lil hammer up to click on a item in inventory bag
Re: Macro help
Posted: Wed Oct 05, 2011 11:32 pm
by ako ito
anyone know how to do macro for manual attack not in boting.. before patching i use
/cast skill
/wait delay
/cast skill
/wait delay
but obviously /cast are not working anymore.... any alternative command for macro??
Re: Macro help
Posted: Thu Oct 06, 2011 8:05 am
by kkulesza
Macros still work if you instal "Extra Action Bar" addon and drag your macros there.
However with one exeption
/wait -after this command macros stop working
Did anyone wrote a good and working wait() function ?
Re: Macro help
Posted: Thu Oct 06, 2011 8:24 am
by lisa
nah wait works fine for me, I use this
Code: Select all
/script CastSpellByName("Hidden Peril")
/wait 2
/script for i=1,20,1 do local name = UnitBuff( "player", i ); if name == "Hidden Peril" then CastSpellByName("Snipe") end end
Code: Select all
/script CastSpellByName("Blood Arrow")
/wait 20
/script for i=1,20,1 do local name = UnitBuff( "player", i ); if name == "Blood Arrow" then CancelPlayerBuff(i) end end SendChatMessage("BA cancelled","PARTY")
both work fine.
Re: Macro help
Posted: Thu Oct 06, 2011 6:10 pm
by ako ito
nice lisa.. exactly im using hidden peril
Re: Macro help
Posted: Thu Oct 06, 2011 6:51 pm
by ako ito
why /script CastSpellByName are not working for me?/
Re: Macro help
Posted: Thu Oct 06, 2011 7:48 pm
by rock5
ako ito wrote:why /script CastSpellByName are not working for me?/
Where have you been?
That doesn't work for anyone since patch. We'll eventually come up with a fix for the bot but at the moment the easiest solution is to use the addon "Extraactionbar" addon.
http://rom.curse.com/downloads/rom-addo ... nbars.aspx