September 26, 2018, 12:59:16 am
Welcome, Guest. Please login or register.
144075 Posts in 17376 Topics- by 29911 Members - Latest Member: Skinnyfatman98
Pages: [1]
  Print  
Author Topic: Macros! (that work)  (Read 3811 times)
Newbie
*
Posts: 7
View Profile Email
« on: January 16, 2018, 04:30:24 am »

Show me what you got!!
Logged
Newbie
*
Posts: 69
View Profile
« Reply #1 on: January 16, 2018, 11:44:13 am »

/tar Lokkamage
/cast blessing of protection

Best macro in game imo
Logged
Sr. Member
****
Posts: 603
View Profile Email
« Reply #2 on: January 16, 2018, 01:24:52 pm »

Sky's the limit, what do you want to do?
Logged

Newbie
*
Posts: 7
View Profile Email
« Reply #3 on: January 17, 2018, 11:30:46 pm »

Sky's the limit, what do you want to do?

Looking for a working Sheep focus macro. But also just want to get list of macros that people use for copy/paste purposes. Maybe even sticky it. I can edit as the Macros are posted.
Logged
Full Member
***
Posts: 312
View Profile
« Reply #4 on: January 17, 2018, 11:54:01 pm »

Spam sheep macro


Macro code:


    /script polymorphIndx = findPolymorph()
    /script CastSpellByName("Polymorph");
    /script if GetSpellCooldown(polymorphIndx, "spell")>0 then SpamAnnounce() ; end



LUA code:


    Spammable_channel = "xxx"
    Spammable_cast = "sheep"

    function findPolymorph()
    i, s, S = 1, "spell", GetSpellName;
    f="Polymorph";
    n, r=S(i,"spell")
    findPoly_spells = { }
    repeat
    if strfind(n,f)~=nil then
    findPoly_spell = { }
    findPoly_spell["index"] = i
    findPoly_spell["name"] = n
    findPoly_spell["rank"] = r
    tinsert(findPoly_spells, findPoly_spell)
    end
    i=i+1;
    n, r = S(i,"spell")
    until n==nil
    for _, spell in ipairs(findPoly_spells) do
    if spell["rank"] == "Rank 2" then
    return spell["index"]
    end
    end
    end


    function SpamAnnounce()
    local cd, t= 5, GetTime()
    if (t-cd) >= (LAST_SAY or 0) then
    LAST_SAY = t;
    whisperNextGroup2()
    end
    end

    function whisperNextGroup2()
    local channelID=GetChannelName(Spammable_channel);
    local targetName = UnitName("target");
    if targetName == nil then targetName = "<no target>" end
    SendChatMessage("I "..Spammable_cast.." "..string.upper(targetName), "CHANNEL", nil, channelID);
    SendChatMessage("I "..Spammable_cast.." "..string.upper(targetName), "SAY", nil);
    end
Logged


^Hi Chess, legit THC earned with the EPGP loot distribution system. Not by half-assed DKP with lootcounciled KT loot ;-)

Rogue CL of <Chaos>
chaosvg.shivtr.com
Newbie
*
Posts: 50
View Profile
« Reply #5 on: January 18, 2018, 01:03:39 am »

If you want to use focus like you can do in arena, get classic focus: http://vanillagaming.org/forum/index.php?topic=6383.0

Then you can bind a key to focus and do a macro like in the example.
Logged
Pages: [1]
  Print  
 
Jump to: