You keep all the lua-registered convars somewhere you can search.
I'm totally lost.
The convars I want aren't lua registered I don't think.
Some are Gmod hard coded sbox_max_blah variables set in server.cfg (or just from console.)
Does Garry use Lua to register those?
I don't want to have to overwrite any game lua functions if I can help it.
"cvarlist sbox" ?
Edit: oh, building a table from these results...
That is a console command, isn't it? I could run 'find sbox_' too. Does me no good if I can't store the results in some way.
Even a multiline \n string could be turned into a table.