Hello everyone, this is my first post here! I was searching the web for nice WoW Scripts, and I found something that adds trinket frames on your Arena Frame (for 3.3.5 WotlK). Basacally what i need to do is to use 7 different macros when i enter arena, and i need to do this everytime i relog.
I was wondering if is there anyone who can make an AddOn that would "say" all those scripts everytime I enter arena, or, if possible, the first time I enter arena.
Here are the scripts:
1
Code:
/run USS="UNIT_SPELLCAST_SUCCEEDED";OE="OnEvent";PvP="Interface\\Icons\\inv_jewelry_trinketpvp_01";F="Frame";CF=CreateFrame;BO="Border";PvPT="PvP Trinket";EMFH="Every Man for Himself";UC=UnitClass;AE="ArenaEnemyFrame"
2
Code:
/run function TrS(f,x,y,cd,T,s,h,n) f:SetPoint("LEFT",AE..n,"Right",x,y)f:SetSize(s,s)f.c=CF("Cooldown",cd)f.c:SetAllPoints(f)f.t=f:CreateTexture(nil,BO)f.t:SetAllPoints()f.t:SetTexture(T);if h then end f:RegisterEvent(USS) end
3
Code:
/run function Tr(f,cd,U,N,T)if(U==T and (N==PvPT or N==EMFH))then f:Show();CooldownFrame_SetTimer(cd,GetTime(),120,1) C=UC(T)end end
4
Code:
/run t1=CF(F);TrS(t1,0,0,"cd1",PvP,28,true,1);t2=CF(F);TrS(t2,0,0,"cd2",PvP,28,true,2);t3=CF(F)TrS(t3,0,0,"cd3",PvP,28,true,3)
5
Code:
/run t1:SetScript(OE,function(_,_,U,N)Tr(t1,cd1,U,N,"arena1")end);t2:SetScript(OE,function(_,_,U,N)Tr(t2,cd2,U,N,"arena2")end);t3:SetScript(OE,function(_,_,U,N)Tr(t3,cd3,U,N,"arena3")end)
6
Code:
/run local f=ArenaEnemyFrame1; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)
7
Code:
/run ArenaEnemyFrame1:SetScale(1.23)
/run ArenaEnemyFrame2:SetScale(1.23)
/run ArenaEnemyFrame3:SetScale(1.23)
Feel free to use the Script as well (I got it from a *******x post). If you are wondering what it actually does, just check this SS :

P.S: Sorry, my English sucks.