Global variables

From Dark Signs Online
Jump to navigationJump to search

Global variables are variables set in Dark Signs Online which can not have any other value assigned to them.

User Specific Variables

$time Contains string of local time.

$date Contains string of local date.

$now Contains string of local date and time.

$username Username of the current user.

$dir The current directory of the current user.

Server Specific Variables

$serverdomain The current server domain that a script is being run on

$serverip The current server ip that a script is being run on

$serverport The current server port that a script is being run on