View Single Post
03-08-23, 04:20 PM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,904
You need to move the NOVIDADE_ToggleFrame function code above (before)

Code:
SlashCmdList["NOVIDADE"] = function ()
    NOVIDADE_ToggleFrame();
end
in the .lua file.

so it looks something like:

Lua Code:
  1. local function NOVIDADE_ToggleFrame()
  2.     -- whatever the function code is
  3. end
  4.  
  5. SlashCmdList["NOVIDADE"] = function ()
  6.     NOVIDADE_ToggleFrame();
  7. end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 03-08-23 at 04:27 PM.
  Reply With Quote