This is the code that I use for Clanmod to put it in the menu. The thing is, is that it won't let me switch these cvars. It will display the cvar, but none of the settings. Other non-mean cvars work perfectly.
The problem is that these are all registered server commands, not cvars. In the mEAn manual and "WhatsNew" doc for the WIP releases, all CVARs should be listed as "CVAR" in their descriptions. Anything that is a command will *not* have CVAR in its decsription.
A command is a function call that gets executed when typed into the console, while a CVAR is like a data value that does nothing on its own, but can be read/changed by functions.
CVARs are mostly used to set configuration values, while commans are used to make things happen.
I suspect these menu systems will allow commands to be run from them.
tip: in place of "on" and "off" you can also use 1 and 0 respectively. Some menus will need this when doing a toggle switch between 0 and 1.
yea, they do support this, it's not quite as nice as the cvars though. Just cause the cvars have multiple settings for each menu entry, where as the commands don't, oh well, not a huge deal, at least it's workable.