User Tools

Site Tools


scripting:system_values

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:system_values [2012/03/23 01:19] mitscripting:system_values [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== System Values ===== ===== System Values =====
  
-'System Values' are special global variables that provide information about the state of the current player and the world. +'System Values' are special read-only, global variables that provide information about the state of the current player and the world. 
-e.g.  'gPlayerAge' tells you the age of the current player. Here's a quick example of how you might use that+e.g.  ''$gPlayerAge'' tells you the age of the current player. Here's a quick example of how you might use that
  
 <codedoc> <codedoc>
Line 71: Line 71:
 **Server Status**\\ **Server Status**\\
 ''   gServerTime \\      ''   gServerTime \\     
-   gNumPlayersOnline+   gNumPlayersOnline\\
 '' ''
 +
 **Building access**\\ **Building access**\\
 '' gBuildingAccessNum \\ '' gBuildingAccessNum \\
Line 85: Line 86:
 gTargetID \\ gTargetID \\
 '' ''
 +
 **Player User-details**\\ **Player User-details**\\
 ''gPlayerAuth \\ ''gPlayerAuth \\
scripting/system_values.1332465550.txt.gz · Last modified: (external edit)