ISSession:XMLSetting (Top-Level Object)

From Lavish Software Wiki
Revision as of 21:21, 23 April 2005 by Lax (talk | contribs)
Jump to navigation Jump to search

Forms

  • string XMLSetting[xml file,section,setting]
Retrieves the given setting, loading the xml file first if necessary (NULL if the setting does not exist)
  • string XMLSetting[xml file,section,setting,default]
Same as above, but with a default value if the setting does not exist

Examples

  • ${XMLSetting[Settings.xml,Chat Options,Channel 1]}
Retrieves the given setting from Settings.xml, or NULL if the setting does not exist
  • ${XMLSetting[Settings.xml,Chat Options,Channel 1,OFF]}
Retrieves the given setting from Settings.xml, defaulting to "OFF" if the setting does not exist

See Also