Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » Public Discussion

Reply
 
LinkBack Thread Tools
Old 03/26/08, 10:30 AM   #271
Margot
Von Kaiser
 
Human Warrior
 
Argent Dawn
I tried to customize the new combat log, and it actually wasn't too bad.

/script TEXT_MODE_A_STRING_TIMESTAMP = "[$time]"
/script TEXT_MODE_A_STRING_VALUE = "$amountType$amount"
/script TEXT_MODE_A_STRING_VALUE_SCHOOL = "$school "
/script TEXT_MODE_A_STRING_VALUE_TYPE = "($powerType) "
/script TEXT_MODE_A_STRING_1 = "$source $spell $action $dest $result $value. $timestamp"
/script TEXT_MODE_A_STRING_2 = "$source $action $spell $dest $result $value. $timestamp"

Basically all this does is make the end of the line (Critical) Nature 200. [12:01:37]

Instead of the default order of 200 Nature (Critical), and timestamps at the front. Note that timestamps do not display if you don't enable them in the Blizzard UI.

You can find the rest of the strings in FrameXML/GlobalStrings.lua.

http://wdnaddons.com/

Last edited by Margot : 03/26/08 at 6:09 PM. Reason: solved my problem

Offline
Reply With Quote
Old 03/26/08, 9:28 PM   #272
Aranan
Piston Honda
 
Aranan's Avatar
 
Night Elf Druid
 
Bronzebeard
I posted a question about 7 pages ago asking about a macro to tab between the various chat tabs and never got an answer. However, I found a macro someone posted on the WoW UI forum that works!

/run local a, tab, c=DOCKED_CHAT_FRAMES for i=1, #a do if a[i]==SELECTED_DOCK_FRAME then c=a[i+1] break; end end c=c or a[1] tab = getglobal(c:GetName().."Tab") tab:Click()

Offline
Reply With Quote
Old 03/27/08, 4:26 PM   #273
Xaoc
Piston Honda
 
Orc Rogue
 
Eitrigg
With the addition of adding raid icons to chat, I was wondering if there was any way to dynamically retrieve what the icons are (if any) for a given target. I didnt see any code that Blizz posted that jumped out at me to do this, but I was hoping one of you other macro/LUA savvy members might have seen something along these lines.

Offline
Reply With Quote
Old 03/28/08, 12:54 AM   #274
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
Human Death Knight
 
Greymane
GetRaidTargetIndex("unit") will return what shape the specified unit has, if any.

API GetRaidTargetIndex - WoWWiki - Your guide to the World of Warcraft

Offline
Reply With Quote
Old 03/28/08, 12:20 PM   #275
Zomghuntar
Von Kaiser
 
Orc Hunter
 
Executus
Is there any way to use a macro to target a specific raid target icon? For example a macro that would target the "Skull" icon.

Offline
Reply With Quote
Old 03/28/08, 3:57 PM   #276
Xaoc
Piston Honda
 
Orc Rogue
 
Eitrigg
I doubt that. Icons are merely there as visual reference, and dont really have a targeting aspect to them. If the macro did something like that, it would look for the UnitID that has the Skull associated with it, and target that unit; all of which I dont think is possible with a macro.

Offline
Reply With Quote
Old 03/29/08, 11:06 AM   #277
Oprahwinfury
Von Kaiser
 
Oprahwinfury's Avatar
 
Gnome Death Knight
 
Stormscale (EU)
Does anyone know how to create a macro that casts one spell on my focus target when i hold down alt and press the button and another spell on my current target when i just press the button? It's for interrupting healers with rank 1 Earth Shock in arena while still being able to use max rank Earth Shock on my current target without switching targets.

Offline
Reply With Quote
Old 03/29/08, 11:19 AM   #278
Thanahtos
Von Kaiser
 
Thanahtos's Avatar
 
Undead Warlock
 
Stormrage
Originally Posted by Oprahwinfury View Post
Does anyone know how to create a macro that casts one spell on my focus target when i hold down alt and press the button and another spell on my current target when i just press the button? It's for interrupting healers with rank 1 Earth Shock in arena while still being able to use max rank Earth Shock on my current target without switching targets.
#showtooltip 
/cast [modifier:alt, target=focus] Earth Shock(rank 1); Earth Shock
Is how you would do it...

Offline
Reply With Quote
Old 03/29/08, 2:05 PM   #279
Oprahwinfury
Von Kaiser
 
Oprahwinfury's Avatar
 
Gnome Death Knight
 
Stormscale (EU)
Thanks alot, works perfectly!

Offline
Reply With Quote
Old 03/29/08, 4:51 PM   #280
Inemos
Glass Joe
 
Undead Warlock
 
Madmortem (EU)
Is there a way around the 255 characters limit in a macro?
unfortunately i was unable to find any recent information on that subject, any addons that would allow me to get around the limit are at least 2 years old.

Offline
Reply With Quote
Old 03/29/08, 5:02 PM   #281
Thanahtos
Von Kaiser
 
Thanahtos's Avatar
 
Undead Warlock
 
Stormrage
Originally Posted by Inemos View Post
Is there a way around the 255 characters limit in a macro?
unfortunately i was unable to find any recent information on that subject, any addons that would allow me to get around the limit are at least 2 years old.
I'm pretty sure there's a way to use scripts to reference other macros, but I, myself, am not well versed enough in that usage to be able to help you.

Offline
Reply With Quote
Old 03/29/08, 6:44 PM   #282
Sagus
Von Kaiser
 
Tauren Druid
 
Skullcrusher
Originally Posted by Inemos View Post
Is there a way around the 255 characters limit in a macro?
unfortunately i was unable to find any recent information on that subject, any addons that would allow me to get around the limit are at least 2 years old.
SuperMacro will let you reference macros with well over 1000 characters in a normal macro. It hasn't been updated in ages because there's been no need for it to have been. It does everything you need it to do, and patches haven't broken it.

Offline
Reply With Quote
Old 03/30/08, 4:31 PM   #283
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
I'm trying to make a macro that would serve dual purpose for Arena and raiding at the same time. The idea would be:

if Focus exists and is Harm, cast earthshock [target=focus]. If Focus exists and is Help, Assist Focus.

Is that possible? Not sure what the syntax is if anyone can help out.

United States Offline
Reply With Quote
Old 03/30/08, 5:49 PM   #284
Sinzar
Von Kaiser
 
Sinzar's Avatar
 
Human Death Knight
 
Greymane
/cast [target=focus,harm] Earth Shock
/stopmacro [target=focus,nohelp]
/assist [target=focus]

Offline
Reply With Quote
Old 04/02/08, 10:57 PM   #285
bimmian
Von Kaiser
 
Tauren Shaman
 
Darkspear
Is there a way to use petfollow/petstay in a castsequence macro? I want one button to toggle stay/follow, but in a cast sequence it doesn't work. I am currently just using a modifier for it, but having one button would be more convenient.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Warlock] 5 v 5 Macro help Cronjob Player vs. Player 13 09/08/07 6:38 AM
Need help with a macro. Iol User Interface and AddOns 5 08/10/07 3:36 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 1:24 PM