
네이버 블로그에서 포스트를 작성하는데
붙여넣기를 하면 띄어쓰기가 이상해지네요.
1번 베터섭 run 매크로 가능하게 해주는 매크로
/dump (function() RunScript=function(a) loadstring(a)(); end; end)()
2번 옴니CC기능 매크로 (고대인님이 만든거)
/run ft=STANDARD_TEXT_FONT;function Tm(s,t)s.time=t;if not s.str then s.str=s:CreateFontString(s:GetName().."C","BORDER")s.str:SetFont(ft,10,"OUTLINE")s.str:SetAllPoints(s)end;s:SetScript("OnUpdate",STm)end
3번
/run function STm(s,el)local t=s.time-GetTime()if(t>0)then KT(t,s)else s.str:SetText("")end;end function KTS(t,s)local scale=0;if(t>600)then scale=3.2 elseif(t>9)then scale=2.2 else scale=1.4 end;s.str:SetFont(ft,s:GetSize()/scale,"OUTLINE")end
4번
/run function KT(t,s) KTS(t,s) if(t>60)then s.str:SetText(ceil(t/60).."m")s.str:SetTextColor(1,1,1,1)else if(t<4)then s.str:SetTextColor(1,0,0,1)else s.str:SetTextColor(1,1,0,1)end s.str:SetText(half(t))end;end
5번
/run function half(n)if(n%1>0.5)then return ceil(n)else return floor(n)end;end function OnCD(s,st,dur) if((dur+st-GetTime())>1.6 and s:GetName())then Tm(s,st+dur)end;end hooksecurefunc(getmetatable(ActionButton1Cooldown).__index, 'SetCooldown', OnCD)
6번
/run acts={}function actU()for cooldown in pairs(acts)do local st, dur=GetActionCooldown(cooldown.cc)OnCD(cooldown,st,dur)end;end
7번
/run for _,bt in pairs(ActionBarButtonEventsFrame.frames)do acts[bt.cooldown]=true;bt.cooldown.cc=bt.action;end e8="ACTIONBAR_UPDATE_COOLDOWN"f=CreateFrame('Frame')f:SetScript('OnEvent',function(_,e,...) if(e==e8)then actU()end end)f:RegisterEvent(e8)
이것들을 그대로 복사하고 글을 작성했는데
위 그림처럼 복사되네요.
글쓰기를 텍스트 형식으로 바꾸고 붙여넣어도 저렇게 나옵니다.
해결방법이 있을까요>?