Config()

From TinyMUX
Jump to navigation Jump to search

CONFIG()

 FUNCTION: config([<parameter name>])
 Most server configuration options are exposed programmatically via
 this function.  Given a <parameter name>, this function returns the
 value currently in force.  If no args are given, the function returns
 a list of all options the player has permission to view.
 For boolean configuration options, config() does not return 'yes' or
 'no'.  It returns the boolean in the form compatible with BOOLEAN.
 Configuration options are determined in order by:
   - Server defaults,
   - Configuration file, and
   - @admin changes.
 Related Topics: BOOLEAN, CONFIG PARAMETERS in wizhelp