hmm so my current attempt at a function was BAD! lol. stackoverflow its dumping a whole lot of data that i dont even know where its coming from when i try to do the following for the add function...
Code:
function addon:AddMoveableFrame(name, parent)
GMoveableFrames[name] = parent
HookFrame(name, parent)
end
function addon:RemMoveableFrame(name, parent)
end
SlashCmdList["GMOVE_SHORTHAND"] = function(name, parent)
addon:AddMoveableFrame(name, parent)
end
SLASH_GMOVE_SHORTHAND1 = "/gmove"