Quick Lua question

Hello, I was wanting a command titled,


and if it is normally executed, it does H2Help() , and if it is executed as
“asdf 1212495” it does H3Help().

I couldn’t really find a type of console command that does that on the wiki.

You gotta use the third argument of callback function in concommand.Add

[lua]local function H2Help() end
local function H3Help() end

concommand.Add(“asdf”, function(ply, cmd, args)
if args[1] == “1212495” then H3Help() return end

Thanks Handsome :smiley: