Help with my menu

Hi, I’m trying get my menu I made working but no luck. So I was hoping you guys could help…


function Gopen()

local DermaPanel1 = vgui.Create("DFrame")
DermaPanel1:SetPos(25,25)
DermaPanel1:SetSize(650, 500)
DermaPanel1:SetTitle("GMenu (Made by Wishbone)")
DermaPanel1:SetVisible(true)
DermaPanell:SetBackgroundBlur(true)
DermaPanel1:SetDraggable(true)
DermaPanel1:ShowCloseButton(true)
DermaPanell:SetSizable(true)
DermaPanell:SetDeleteOnClose(false)
DermaPanel1:MakePopup()
DermaPanell:SetSkin("models/alyx/emptool_glow")


local TabS = vgui.Create("DPropertySheet",DermaPanell)
TabS:SetPos (20,20)
TabS:SetSize(620,470)
local Tab1 = vgui.Create("DPanel",DermaPanell)
Tab1:SetPos( 5, 15 )
Tab1:SizeToContents()
local Tab2 = vgui.Create("DPanel",DermaPanell)
Tab2:SetPos( 5, 15 )
Tab2:SizeToContents()
local DLV = vgui.Create("DListView")
DLV:SetParent(Tab1)
DLV:SetPos(0, 0)
DLV:SetSize(600, 400)
DLV:SetMultiSelect(false)
DLV:AddColumn("Name")
DLV:AddColumn("Rank")
DLV:AddColumn("Hp")
DLV:AddColumn("armor")
DLV:AddColumn("Admin?")

DLV:AddColumn("Kills")
DLV:AddColumn("Deaths")
Pcount=0
Refresh = vgui.Create("DButton",Tab1)
Refresh:SetSize(50,25)
Refresh:SetPos(30,400)
Refresh:SetText("Refresh list")
Refresh.DoClick = function()
DLV:Clear()
for k,v in pairs(player.GetAll()) do
DLV:AddLine(v:Nick(),team.GetName( v:Team() ),v:Health(),v:Armor(),v:IsAdmin(),v:Ping(),v:Frags(),v:Deaths()
end
function DLV:Think()
Pcount=Pcount
if table.Count(player.GetAll())!=Pcount then
Pcount=table.Count(player.GetAll())
DLV:Clear()
for k,v in pairs(player.GetAll()) do
DLV:AddLine(v:Nick(),team.GetName( v:Team() ),v:Health(),v:Armor(),v:IsAdmin(),v:Ping(),v:Frags(),v:Deaths()
end
local DVNO = vgui.Create("DListView")  
	DVNO:SetParent( Tab2 )  
DVNO:SetPos(0,1)  
DVNO:SetSize(600,340)  
DVNO:SetMultiSelect(false)
DVNO:AddColumn("Song")
end
Textdown1=0
Textdown2=0
Scroll=0
for k,v in pairs(list) do
DermaListView:AddLine(v)
end
local name
function DermaListView:OnRowSelected( LineID, Line )  
   name = Line:GetColumnText( 1 )
end
local DermaButton = vgui.Create( "DButton", DermaPanel1 )
	DermaButton:SetParent( Tab2 )
DermaButton:SetToolTip("Play the selected song (End song before playing other one!)")   
DermaButton:SetText( "Play Song" )  
DermaButton:SetPos( 30,350)  
DermaButton:SetSize( 80,50)  
DermaButton.DoClick = function()
surface.PlaySound( "ui/buttonclick.wav" )
RunConsoleCommand( "play", "songs/"..name )
end
local DermaButton = vgui.Create( "DButton", DermaPanel1 )
	DermaButton:SetParent( Tab2 )
DermaButton:SetText( "Stop Song" )  
DermaButton:SetPos( 250,350)  
DermaButton:SetSize( 80,50)  
DermaButton.DoClick = function()
surface.PlaySound( "ui/buttonclick.wav" )
RunConsoleCommand( "stopsounds" )
end

TabS:AddSheet( "Player Info", Tab1, "gui/silkicons/information", false, false, "Gives info of players on the server." )
TabS:AddSheet( "Music" , Tab2, "gui/silkicons/sound", false, false, "Music." )

end


 function Hidemenu()

if DermaPanel1:IsVisible() == true then
DermaPanel1:SetVisible(false)
	end

end

concommand.Add("gmenutest", Gopen)
concommand.Add("+gmenutest", Gopen)
concommand.Add("-gmenutest", Hidemenu)

The problem i’m having is that when I type gmenutest it says Unknown Command: ‘gmenutest’.

-snip-

[editline]11:37PM[/editline]

[lua]concommand.Add(“gmenutest”, Gopen)
concommand.Add("+gmenutest", Gopen)
concommand.Add("-gmenutest", Hidemenu)[/lua]

also why are you adding a command to open, then a concommand that has to be held down to open it?

[editline]11:37PM[/editline]
[lua]
function Gopen()

local DermaPanel1 = vgui.Create("DFrame")
DermaPanel1:SetPos(25,25)
DermaPanel1:SetSize(650, 500)
DermaPanel1:SetTitle("GMenu (Made by Wishbone)")
DermaPanel1:SetVisible(false)
DermaPanell:SetBackgroundBlur(true)
DermaPanel1:SetDraggable(true)
DermaPanel1:ShowCloseButton(true)
DermaPanell:SetSizable(true)
DermaPanell:SetDeleteOnClose(false)
DermaPanel1:MakePopup()
DermaPanell:SetSkin("models/alyx/emptool_glow")

local TabS = vgui.Create("DPropertySheet",DermaPanell)
TabS:SetPos (20,20)
TabS:SetSize(620,470)
local Tab1 = vgui.Create("DPanel",DermaPanell)
Tab1:SetPos( 5, 15 )
Tab1:SizeToContents()
local Tab2 = vgui.Create("DPanel",DermaPanell)
Tab2:SetPos( 5, 15 )
Tab2:SizeToContents()
local DLV = vgui.Create("DListView")
DLV:SetParent(Tab1)
DLV:SetPos(0, 0)
DLV:SetSize(600, 400)
DLV:SetMultiSelect(false)
DLV:AddColumn("Name")
DLV:AddColumn("Rank")
DLV:AddColumn("Hp")
DLV:AddColumn("armor")
DLV:AddColumn("Admin?")

DLV:AddColumn("Kills")
DLV:AddColumn("Deaths")
Pcount=0
Refresh = vgui.Create("DButton",Tab1)
Refresh:SetSize(50,25)
Refresh:SetPos(30,400)
Refresh:SetText("Refresh list")
Refresh.DoClick = function()
DLV:Clear()
for k,v in pairs(player.GetAll()) do
DLV:AddLine(v:Nick(),team.GetName( v:Team() ),v:Health(),v:Armor(),v:IsAdmin(),v:Ping(),v:Frags(),v:Deaths()
end
function DLV:Think()
Pcount=Pcount
if table.Count(player.GetAll())!=Pcount then
Pcount=table.Count(player.GetAll())
DLV:Clear()
for k,v in pairs(player.GetAll()) do
DLV:AddLine(v:Nick(),team.GetName( v:Team() ),v:Health(),v:Armor(),v:IsAdmin(),v:Ping(),v:Frags(),v:Deaths()
end
local DVNO = vgui.Create("DListView")  
	DVNO:SetParent( Tab2 )  
DVNO:SetPos(0,1)  
DVNO:SetSize(600,340)  
DVNO:SetMultiSelect(false)
DVNO:AddColumn("Song")
end
Textdown1=0
Textdown2=0
Scroll=0
for k,v in pairs(list) do
DermaListView:AddLine(v)
end
local name
function DermaListView:OnRowSelected( LineID, Line )  
   name = Line:GetColumnText( 1 )
end
local DermaButton = vgui.Create( "DButton", DermaPanel1 )
	DermaButton:SetParent( Tab2 )
DermaButton:SetToolTip("Play the selected song (End song before playing other one!)")   
DermaButton:SetText( "Play Song" )  
DermaButton:SetPos( 30,350)  
DermaButton:SetSize( 80,50)  
DermaButton.DoClick = function()
surface.PlaySound( "ui/buttonclick.wav" )
RunConsoleCommand( "play", "songs/"..name )
end
local DermaButton = vgui.Create( "DButton", DermaPanel1 )
	DermaButton:SetParent( Tab2 )
DermaButton:SetText( "Stop Song" )  
DermaButton:SetPos( 250,350)  
DermaButton:SetSize( 80,50)  
DermaButton.DoClick = function()
surface.PlaySound( "ui/buttonclick.wav" )
RunConsoleCommand( "stopsounds" )
end

TabS:AddSheet( “Player Info”, Tab1, “gui/silkicons/information”, false, false, “Gives info of players on the server.” )
TabS:AddSheet( “Music” , Tab2, “gui/silkicons/sound”, false, false, “Music.” )
end

function Hidemenu()

if DermaPanel1:IsVisible() == true then
DermaPanel1:SetVisible(false)
end
end

function on()
DermaPanel1:SetVisible(true)
end

function off()
DermaPanel1:SetVisible(false)
end

concommand.Add("+gmenutest", on)
concommand.Add("-gmenutest’, off)
hook.add(“Initialize”, “open”, GOpen)[/lua]

try that

[lua]concommand.Add("-gmenutest’, off) [/lua]
[lua]concommand.Add("-gmenutest", off) [/lua]