LuaNinja Macro Collection menu

Shout-Out

User Tag List

Page 8 of 42 FirstFirst ... 456789101112 ... LastLast
Results 106 to 120 of 629
  1. #106
    pkaa4eva_jr's Avatar Banned
    Reputation
    3
    Join Date
    Aug 2009
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, i have this macro for trinkets

    /Run loadstring("if (UnitBuff(\"target\", \"PvP Trinket\")) then TargetUnit(\"target\") CastSpellByName(\"Blind\") end")()

    It works perfectly and will instant cast blind asoon as someone trinkets but how can i make this work for only targets on my set focus?

    LuaNinja Macro Collection
  2. #107
    ganzerker's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by pkaa4eva_jr View Post
    Hey, i have this macro for trinkets

    /Run loadstring("if (UnitBuff(\"target\", \"PvP Trinket\")) then TargetUnit(\"target\") CastSpellByName(\"Blind\") end")()

    It works perfectly and will instant cast blind asoon as someone trinkets but how can i make this work for only targets on my set focus?
    change target to focus

  3. #108
    Demonshade's Avatar get in da van, i got epix

    Reputation
    494
    Join Date
    Mar 2007
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    enhance shammy perfect rotation macro anyone?
    /AFK shower

  4. #109
    Elitetech's Avatar Contributor
    Reputation
    98
    Join Date
    Oct 2008
    Posts
    279
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Demonshade View Post
    enhance shammy perfect rotation macro anyone?
    What spells does that include?

    Basically what I got out from the top of my head was

    Code:
    /run local _,d,_ = GetSpellCooldown("Stormstrike") if (d == 0) then CastSpellByName("Stormstrike") end
    /run local _,d,_ = GetSpellCooldown("Earth Shock") if (d == 0) then CastSpellByName("Earth Shock") end
    /run local _,d,_ = GetSpellCooldown("Flame Shock") if (d == 0) then CastSpellByName("Flame Shock") end
    /run local _,d,_ = GetSpellCooldown("Lava Lash") if (d == 0) then CastSpellByName("Lava Lash") end
    which probably doesn't make sense. The code is REALLY basic, just copypaste the line and replace the spell with whatever you want. Tell me if you want it to detect buffs or procs or something since i don't know shit about shamans :P
    Last edited by Elitetech; 12-03-2009 at 04:55 PM.
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

  5. #110
    Demonshade's Avatar get in da van, i got epix

    Reputation
    494
    Join Date
    Mar 2007
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Detect for 5 maelstrom weapon stacks, then use chain lightning, wait thats in the main post, lemme try it out
    Made a worknig set of macros, will post soon."

    Will use Lava lash, Stormstrike, Flameshock whenever off cooldown. Will use chain lightening on 5 maelstrom stacks. Will put down totems for you. All i need is to find out how to check if a buff only has a certain amount of time left on it, say 10 seconds left, cast a spell.

    Macro "1"
    Code:
    /run local _,d,_ = GetSpellCooldown("Stormstrike") if (d == 0) then CastSpellByName("Stormstrike") end
    /run local _,_,_,c,_,_,_,_,_=UnitBuff("Player","Maelstrom Weapon"); if  (c==5 ) then CastSpellByName("Chain Lightning") else RunMacro ("2") end
    Macro "2"
    Code:
    /run if not UnitBuff("player", "Windfury Totem") then CastSpellByName("Call of the Elements") end
    /run local _,_,_,c,_,_,_,_,_=UnitBuff("Player","Maelstrom Weapon"); if  (c==5 ) then CastSpellByName("Chain Lightning") else RunMacro ("3") end
    Macro "3"
    Code:
    /run local _,d,_ = GetSpellCooldown("Flame Shock") if (d == 0) then CastSpellByName("Flame Shock") end
    /run local _,_,_,c,_,_,_,_,_=UnitBuff("Player","Maelstrom Weapon"); if  (c==5 ) then CastSpellByName("Chain Lightning") else RunMacro ("4") end
    Macro "4"
    Code:
    /run local _,d,_ = GetSpellCooldown("Lava Lash") if (d == 0) then CastSpellByName("Lava Lash") end
    /run local _,_,_,c,_,_,_,_,_=UnitBuff("Player","Maelstrom Weapon"); if  (c==5 ) then CastSpellByName("Chain Lightning") else RunMacro ("1") end
    I put the maelstrom buff check in every macro so that itll be as instantanious as possible.
    Last edited by Demonshade; 12-03-2009 at 06:23 PM.
    /AFK shower

  6. #111
    Albedo's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2008
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed the Feral Druid Cat DPS macro.

    Code:
    /run if UnitBuff("player", "Clearcasting") then CastSpellByName("Shred") end
    /run local _,d,_ = GetSpellCooldown("Tiger's Fury") if (d == 0) and UnitPower("Player") < 30 then CastSpellByName("Tiger's Fury") end
    /run p=GetComboPoints("player","target");if not UnitBuff("player", "Savage Roar") and p>0 then RunMacroText("/cast Savage Roar") end
    /run p=GetComboPoints("player","target");if not UnitDebuff("target", "Rip",unitCaster~="player") and p>4 then RunMacroText("/cast Rip") end
    /run p=GetComboPoints("player","target");if p>4 then RunMacroText("/cast Ferocious Bite") end
    /run if not UnitDebuff("target", "Rake",unitCaster~="player") then CastSpellByName("Rake") end
    /run if UnitDebuff("target", "Mangle",unitCaster~="player") then CastSpellByName("Shred") end
    /run if UnitDebuff("target", "Trauma",unitCaster~="player") then CastSpellByName("Shred") end
    /run if not UnitDebuff("target", "Mangle (Cat)",unitCaster~="player") then CastSpellByName("Mangle (Cat)") end
    /run local _,d,_ = GetSpellCooldown("Shred") if (d == 0) then CastSpellByName("Shred") end
    Now casts Shred if you have a feral druid tank or another feral druid casting Mangle, as well as if Trauma is up on the target (Trauma and Mangle do not stack).

  7. #112
    Vixxi's Avatar Active Member
    Reputation
    36
    Join Date
    Feb 2007
    Posts
    491
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone help me? Lua loads up fine (i think, it loads WoW anyway) and the run macros work, but they don't activate the next macro.

    I'm using ret pally one from first page and if i click it it only does the macro i click.

  8. #113
    Demonshade's Avatar get in da van, i got epix

    Reputation
    494
    Join Date
    Mar 2007
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Vixxi View Post
    Can anyone help me? Lua loads up fine (i think, it loads WoW anyway) and the run macros work, but they don't activate the next macro.

    I'm using ret pally one from first page and if i click it it only does the macro i click.
    Did you name it right?
    Macro 25 needs to be a macro named 25.
    Macro 26 needs to be a macro named 26, etc.
    /AFK shower

  9. #114
    Elitetech's Avatar Contributor
    Reputation
    98
    Join Date
    Oct 2008
    Posts
    279
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Vixxi View Post
    Can anyone help me? Lua loads up fine (i think, it loads WoW anyway) and the run macros work, but they don't activate the next macro.

    I'm using ret pally one from first page and if i click it it only does the macro i click.
    Remember that they are case sensitive and numbers represent slot number of the macro. If you can't run macros called 1-2-3-4 try renaming them to AB-BC-CD-DE and change the code to RunMacro("AB") instead.
    Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

  10. #115
    sid1488's Avatar Active Member
    Reputation
    50
    Join Date
    Jan 2009
    Posts
    608
    Thanks G/R
    1/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WTB DK dual wield frost rotation.
    I am Swedish and I like green! And most other colours too!

  11. #116
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone got one for a Combat Rogue?

  12. #117
    osbornx22's Avatar Sergeant
    Reputation
    14
    Join Date
    Nov 2009
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rogues just need one button anyway, what do you want with a macro?

  13. #118
    brightemo's Avatar Member
    Reputation
    3
    Join Date
    Jun 2009
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shadow Priest
    (you need to put it all on one line, and use an addon such as macaroon so it will fit)
    Code:
    /run 
    cs=CastSpellByName;
    cd=GetSpellCooldown;
    ud=UnitDebuff;
    ub=UnitBuff;
    if (UnitMana("player")/UnitManaMax("Player")<0.5) and (cd("Shadowfiend") == 0) then
     cs("Shadowfiend");
    else 
     n,_,_,s = ub("player","Shadow Weaving"); 
     if not ud("target", "Vampiric Touch", unitCaster~="player") and (cd("Vampiric Touch") == 0) then
      cs("Vampiric Touch")  
     elseif not ud("target", "Devouring Plague", unitCaster~="player") and (cd("Devouring Plague") == 0) then
      cs("Devouring Plague")  
     elseif (cd("Mind Blast") == 0) then
      cs("Mind Blast") 
     elseif s == 5 and not ud("target", "Shadow Word: Pain", unitCaster~="player") and (cd("Shadow Word: Pain") == 0) then
      cs("Shadow Word: Pain")  
     elseif s == 5 and not ud("target", "Vampiric Embrace", unitCaster~="player") and (cd("Vampiric Embrace") == 0) then
      cs("Vampiric Embrace") 
     elseif not ud("target","Mind Flay", unitCaster~="player") and (cd("Mind Flay") == 0) then
      cs("Mind Flay")  
     end 
    end

  14. #119
    Albedo's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2008
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by brightemo View Post
    Shadow Priest
    (you need to put it all on one line, and use an addon such as macaroon so it will fit)
    Code:
    /run 
    cs=CastSpellByName;
    cd=GetSpellCooldown;
    ud=UnitDebuff;
    ub=UnitBuff;
    if (UnitMana("player")/UnitManaMax("Player")<0.5) and (cd("Shadowfiend") == 0) then
     cs("Shadowfiend");
    else 
     n,_,_,s = ub("player","Shadow Weaving"); 
     if not ud("target", "Vampiric Touch", unitCaster~="player") and (cd("Vampiric Touch") == 0) then
      cs("Vampiric Touch")  
     elseif not ud("target", "Devouring Plague", unitCaster~="player") and (cd("Devouring Plague") == 0) then
      cs("Devouring Plague")  
     elseif (cd("Mind Blast") == 0) then
      cs("Mind Blast") 
     elseif s == 5 and not ud("target", "Shadow Word: Pain", unitCaster~="player") and (cd("Shadow Word: Pain") == 0) then
      cs("Shadow Word: Pain")  
     elseif s == 5 and not ud("target", "Vampiric Embrace", unitCaster~="player") and (cd("Vampiric Embrace") == 0) then
      cs("Vampiric Embrace") 
     elseif not ud("target","Mind Flay", unitCaster~="player") and (cd("Mind Flay") == 0) then
      cs("Mind Flay")  
     end 
    end
    You have to set it to check if Mind Flay is being cast on every line, otherwise it'll clip. I'd fix it myself, but I'm still learning this shiz.

  15. #120
    Sikas's Avatar Active Member
    Reputation
    69
    Join Date
    Feb 2007
    Posts
    386
    Thanks G/R
    6/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, Sinister Strike x5, cast SnD.. SS x5 Eviscerate.

Page 8 of 42 FirstFirst ... 456789101112 ... LastLast

Similar Threads

  1. [Macro-Collection] All-In-One-Button Macro for all Classes from Level 15-90!
    By Classicclean in forum WoW UI, Macros and Talent Specs
    Replies: 21
    Last Post: 01-21-2014, 08:16 AM
  2. Addon For LuaNinja Macros
    By Tracerv0 in forum WoW UI, Macros and Talent Specs
    Replies: 7
    Last Post: 01-06-2010, 02:21 PM
  3. /Dump Macro Collection (WIP at mo!)
    By Anotherfox in forum WoW UI, Macros and Talent Specs
    Replies: 97
    Last Post: 01-04-2010, 03:21 PM
  4. [HOW TO] Ascii Macro + my collection
    By wickermanz in forum World of Warcraft Guides
    Replies: 12
    Last Post: 01-05-2009, 12:58 PM
  5. Macro Love - My Collection of useful and/or Space saving Macro's!
    By Anotherfox in forum World of Warcraft Guides
    Replies: 15
    Last Post: 12-28-2008, 12:29 AM
All times are GMT -5. The time now is 09:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search