Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-20-16, 01:07 PM   #1
morpheusxeno
A Flamescale Wyrmkin
 
morpheusxeno's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 126
Broken Macro Script

I found this on ownedcore, allows you to change your title every 5 seconds automatically.

Code:
/run local f,t=NEN or CreateFrame("Frame","NEN")f.t=0 f:SetScript("OnUpdate",function()f.t=f.t+arg1 if f.t>5 then f.t,t=0,GetCurrentTitle()if t>0 then for i=1,111 do t=mod(t+1,111)+1 if IsTitleKnown(t)==1 then SetCurrentTitle(t)break end end end end end)
Is this accessing a protected function that is no longer allowed? Or is the code broken due to the changes made over the last 7 years?
__________________
My mother-in-law fell down a wishing well. I was amazed; I never knew they worked...
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » Macro Help » Broken Macro Script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off