1. #1

    Dynamic "Pulling Now!" tanking macro

    Hey, a tank and myself in my guild was working on a macro which makes use of the /in command to post Pulling in 3, 2, 1, NOW! in the appropriate chat-channel. We came up with a two-macro solution to keep from having to use an addon. We came up with the following


    Macro 1:
    /run b,c=GetNumRaidMembers(),"SAY";if(UnitName("PARTY1")~=nil)then c="PARTY"end;if(b>0)then c="RAID"end;if(IsRaidOfficer()~=nil)then c="RAID_WARNING"end;if(GetCVar("K")~=nil)then SetCVar("K",c)else RegisterCVar("K",c)end
    /click MultiBarBottomRightButton1


    Macro 2: (placed in the bottomright bar, button 1 (all the way to the left on the bottom right action bar button)
    /run SendChatMessage("PULLING IN 3",GetCVar("K"))
    /in 1 /run SendChatMessage("3",GetCVar("K"))
    /in 2 /run SendChatMessage("2",GetCVar("K"))
    /in 3 /run SendChatMessage("1",GetCVar("K"))
    /in 3.5 /run SendChatMessage("PULLING NOW!!!",GetCVar("K"))


    It will determine which type of party you are in, (as well as raid warning) and post it out. You only press macro 1, and macro 2 will automatically be pushed.
    Just thought it might be useful for its designed purpose, or for other stuff which requires the logic to determine which channel to post to automatically
    -Brusalk & Hammerdin

  2. #2

    Re: Dynamic "Pulling Now!" tanking macro

    Hmm...

    ;D
    Prot Pally:Avido-http://www.wowarmory.com/character-s...radin&cn=Avido
    MM Hunter:Avida-http://www.wowarmory.com/character-s...radin&cn=Avida
    Resto Shaman:Prymoria-http://www.wowarmory.com/character-s...in&cn=Prymoria
    Quote Originally Posted by Caradinist
    [size=11pt]IT'S LIGHT RED. LIGHT RED SPARKLE ARMOR.[/size]

  3. #3

    Re: Dynamic "Pulling Now!" tanking macro

    That looks pretty nifty

  4. #4
    Deleted

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by Brusalk
    Hey, a tank and myself in my guild was working on a macro which makes use of the /in command to post Pulling in 3, 2, 1, NOW! in the appropriate chat-channel. We came up with a two-macro solution to keep from having to use an addon. We came up with the following


    Macro 1:
    /run b,c=GetNumRaidMembers(),"SAY";if(UnitName("PARTY1")~=nil)then c="PARTY"end;if(b>0)then c="RAID"end;if(IsRaidOfficer()~=nil)then c="RAID_WARNING"end;if(GetCVar("K")~=nil)then SetCVar("K",c)else RegisterCVar("K",c)end
    /click MultiBarBottomRightButton1


    Macro 2: (placed in the bottomright bar, button 1 (all the way to the left on the bottom right action bar button)
    /run SendChatMessage("PULLING IN 3",GetCVar("K"))
    /in 1 /run SendChatMessage("3",GetCVar("K"))
    /in 2 /run SendChatMessage("2",GetCVar("K"))
    /in 3 /run SendChatMessage("1",GetCVar("K"))
    /in 3.5 /run SendChatMessage("PULLING NOW!!!",GetCVar("K"))


    It will determine which type of party you are in, (as well as raid warning) and post it out. You only press macro 1, and macro 2 will automatically be pushed.
    Just thought it might be useful for its designed purpose, or for other stuff which requires the logic to determine which channel to post to automatically
    -Brusalk & Hammerdin
    Code:
    /run SlashCmdList.L=function(i) SendChatMessage(i,(IsRaidOfficer() and "RAID_WARNING" or (GetRealNumRaidMembers()>0) and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULLING IN 3
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING!
    Should be exactly 255 characters *phew*

    EDIT: Untested though, got no client available right now.

  5. #5

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by Treeston
    Code:
    /run SlashCmdList.L=function(i) SendChatMessage(i,(IsRaidOfficer() and "RAID_WARNING" or (GetRealNumRaidMembers()>0) and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULLING IN 3
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING!
    Should be exactly 255 characters *phew*

    EDIT: Untested though, got no client available right now.
    Two approaches to the same problem. I never even thought of registering a new slash-command :P I'll be interested to see if it works.

  6. #6

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by Treeston
    Code:
    /run SlashCmdList.L=function(i) SendChatMessage(i,(IsRaidOfficer() and "RAID_WARNING" or (GetRealNumRaidMembers()>0) and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULLING IN 3
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING!
    Should be exactly 255 characters *phew*

    EDIT: Untested though, got no client available right now.
    That's more than 255 characters.

  7. #7

    Re: Dynamic "Pulling Now!" tanking macro

    260 chars, can you chop it down a hair?

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

  8. #8

    Re: Dynamic "Pulling Now!" tanking macro

    Maybe remove some blanks:
    Code:
    /run SlashCmdList.L=function(i)SendChatMessage(i,(IsRaidOfficer()and "RAID_WARNING" or(GetRealNumRaidMembers()>0)and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULL IN 3
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING!

    But also untested, as i have no Client available.

  9. #9
    Deleted

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by Morksen
    Maybe remove some blanks:
    Code:
    /run SlashCmdList.L=function(i)SendChatMessage(i,(IsRaidOfficer()and "RAID_WARNING" or(GetRealNumRaidMembers()>0)and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULL IN 3
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING!

    But also untested, as i have no Client available.
    Tested just now, solo party and raid and worked good.
    But also got a message that dbm does the same with /dbm pull 5 command.

    ( nvm the last part, just saw you dont want to use a addon )

  10. #10

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by lawomous
    260 chars, can you chop it down a hair?
    Code:
    /run SlashCmdList.L=function(i) SendChatMessage(i,(IsRaidOfficer() and "RAID_WARNING" or (GetRealNumRaidMembers()>0) and "RAID" or (GetRealNumPartyMembers()>0) and "PARTY")) end SLASH_L1="/l"
    /l PULL IN
    /in 1 /l 3
    /in 2 /l 2
    /in 3 /l 1
    /in 3.5 /l PULLING
    254 characters; I changed the "Pulling in 3" because then it's really more like 4.5 seconds.

  11. #11

    Re: Dynamic "Pulling Now!" tanking macro

    why do you need the script stuff?! just press your macro when you pull. would'nt this be enough?:

    /ra PULL IN 3
    /in 1 /ra 2
    /in 2 /ra 1
    /in 3 /ra PULLING!

  12. #12
    Deleted

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by brirrspliff
    why do you need the script stuff?! just press your macro when you pull. would'nt this be enough?:

    /ra PULL IN 3
    /in 1 /ra 3
    /in 2 /ra 2
    /in 3 /ra 1
    /in 3.5 /ra PULLING!
    that doesnt switch to /p when in a party, does it ?

  13. #13

    Re: Dynamic "Pulling Now!" tanking macro

    /dbm pull 10

    Not many ppl know that dbm has got build in pull timer with nice raid warning sound, rly hard to miss.
    All you have to be is raid assist ofc.

    It can be /dbm pull 3 in your case.

    You wanted that additional functionality without need of any additional addons but most likely you use Deadly Boss Mods anyway.

  14. #14

    Re: Dynamic "Pulling Now!" tanking macro

    1: Install "Chatter" addon.
    2: create this macro:

    #Showtooltip Heroic Trow
    /gr Pulling in 5!
    /in 1 /gr Pulling in 4!
    /in 2 /gr Pulling in 3!
    /in 3 /gr Pulling in 2!
    /in 4 /gr Pulling in 1!

    and... press your Heroic trow or Avenger's shield or w/e keybinding or spell you use.

    no need for any Script coding or other bullshit.

    with chatter addon installed, /gr (or /group) gets automaticly translated into /p /s /raid /bg depending of what situration you're in.


    but in any case, i still prefer using /s for Pulling macros, as the chat bubbles that comes up in the middle of people's screen + in their chat is so more effective and graps a lot more attention.
    True wisdom is to look beyond your own opinion.

  15. #15

    Re: Dynamic "Pulling Now!" tanking macro


    /dbm pull 5

    job done.
    Originally Posted by Blizzard Entertainment
    you're likely wrong, and we don't care anyway.
    Source

  16. #16

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by warptwist
    1: Install "Chatter" addon.
    Perhaps you should read the first post?

    Quote Originally Posted by Brusalk
    We came up with a two-macro solution to keep from having to use an addon.
    Active: Monk
    Active: Rogue
    Active: Paladin
    Inactive: Warlock

  17. #17
    Deleted

    Re: Dynamic "Pulling Now!" tanking macro

    Quote Originally Posted by Malorajan
    That's more than 255 characters.
    Sorry, I removed the newlines to strlen() it with lua and appears i forgot to add those.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •