You should probably check existing plugins how they do this stuff...
Code:
#include <amxmodx>
#include <amxmisc>
public myfunction_fn(id, level, cid) {
if (!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new arg[16]
read_argv(1, arg, 15)
new number = str_to_num(arg)
set_cvar_num("bot_quota", number)
return PLUGIN_HANDLED
}
public plugin_init() {
register_plugin(PLUGINNAME, VERSION, AUTHOR)
register_concmd("amx_bots", "myfunction", ADMIN_CFG, "<#> - specify a number")
}
I'm just guessing here that bot_quota is a cvar, and that's how you would set such a cvar nicely.