$GET_CONFIG

DungeonCraft Help Home



This function can be used to obtain any value listed in the “config.txt” file. The parameter to the function is simply the **Exact** name as listed in the config.txt. For example, the value of the screen width in the config.txt is specified by:



Screen_Width = 640



To obtain this value in a script you would use the funtion:



result = $GET_CONFIG(“Screen_Width”);



and the result would be “640”.