View Single Post
Re: Problem with m_ commands
Old
  (#5)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Problem with m_ commands - 26-01-2004

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.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut

Last edited by botmeister; 26-01-2004 at 06:10..
  
Reply With Quote