CVARINFO
Code: Select all
server bool test_first = true;
server bool test_second = false;
Code: Select all
AddOptionMenu "OptionsMenu" before "CustomizeControls"
{
Option "First Test", "test_first", "OnOff"
Option "Second Test", "test_second", "OnOff"
StaticText ""
Command "First Only","test_first 1;test_second 0"
Command "Second Only","test_first 0;test_second 1"
StaticText ""
}