This is what im working with
_________________________________________________________________________________________________________________________________
local menu = DermaMenu()
menu:AddOption( "Request Backup", function() RunConsoleCommand( "say","@Need some backup on this sit!" ) end )
menu:AddOption( "God Mode On", function() RunConsoleCommand( "say","!god ^" ) end )
menu:AddOption( "God Mode Off", function() RunConsoleCommand( "say","!ungod ^" ) end )
menu:AddOption( "Heal Me", function() RunConsoleCommand( "say","!hp ^ 100" ) end )
menu:AddOption( "Heal User", function() RunConsoleCommand( "say","!hp @ 100" ) end )
menu:AddOption( "Armor Me", function() RunConsoleCommand( "say","!armor ^ 100" ) end )
menu:AddOption( "Armor User", function() RunConsoleCommand( "say","!armor @ 100" ) end )
menu:AddOption( "Ban", function() RunConsoleCommand( "say","!ban @ 120" ) end )
menu:AddOption( "Kick", function() RunConsoleCommand( "say","!kick @" ) end )
menu:AddOption( "Strip", function() RunConsoleCommand( "say","!strip @" ) end )
menu:AddOption( "Jail", function() RunConsoleCommand( "say","!jail @ 120" ) end )
menu:AddOption( "Unjail", function() RunConsoleCommand( "say","!unjail @" ) end )
menu:AddOption( "Freeze", function() RunConsoleCommand( "say","!freeze @" ) end )
menu:AddOption( "Unfreeze", function() RunConsoleCommand( "say","!unfreeze @" ) end )
menu:AddOption( "Gag", function() RunConsoleCommand( "say","!gag @" ) end )
menu:AddOption( "Ungag", function() RunConsoleCommand( "say","!Ungag @" ) end )
menu:AddOption( "Mute", function() RunConsoleCommand( "say","!mute @" ) end )
menu:AddOption( "Unmute", function() RunConsoleCommand( "say","!unmute @" ) end )
menu:AddOption( "Close", function() print( "Close pressed" ) end ) -- The menu will remove itself, we don't have to do anything.
menu:Open()
_________________________________________________________________________________________________________________________________
Im attempting to make a quick menu and would love some help. i would also love help on how to make it so instead of opening lua file and it auto opens id like a console command to open the menu.