VoidExpanse/scope-config

From AtomicTorchWiki
Revision as of 03:58, 5 July 2014 by Damonwall (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Config scope

Used to get access to server variables from config file.

Visibility: Global.

List of functions

GetSetting
Arguments Returns Example
  • string: name

string- a particular value of config.

var a = config.GetSetting("some_var");
Description

Returns a server variable value by name. Basically used to read server config options from script.