I sense you love over complicating things simply because you do not know how to make a proper framework.
Here's a chunk of what a framework would do:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local cs2d_parse	= parse
local stop_on		= {
	'sv_maxplayers'	
}
function parse(params, sas)
	for i = 1, #stop_on do
		local so = stop_on[i]
		if params:find(so) then
			return false, so .. ' is disabled'
		end
	end
	return true, cs2d_parse(params, sas)
end
This can't be messed with, if it gets
dofile
'd above every other script in the
server.lua file.
That is because you localised the real
parse function, so only that file can use it.
Of course the check is very lazy, so doing stuff like:
sv_maxplayers 4;kick 4
Will not work at all, even though the second action should've passed.
You can just split the string and do the check for every command parsed, I'm not going to do that though because it seems redudent (as nobody uses it).
This allows you to ban more than one command too.