Macro Help

I am trying to use C as a keybind without loosing his default function.
Looking online I’ve found some code and I wrote this macro:

/use [combat]Frost Nova
/run OOCDo.MacroText("/run local c=CharacterFrame if c:IsShown() then c:Hide() else c:Show()end")
/click OOCDo

OOCDo is an add-on that run the macro on brackets only in combat. The problem is that c:Show works only if I opened at least once the Character frame since last /reload… Do u know how can I solve that?

The better command to toggle the character frame would be
/run ToggleCharacter("PaperDollFrame")

So, try:
/use [combat] Frost Nova
/run OOCDo.MacroText("/run ToggleCharacter(\"PaperDollFrame\")")
/click OOCDo

This Worked, ty :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.