Library system

System library.

Functions

hasFocus() Returns true if the game window currently has focus.
isLinux() Returns true if the client is running on Linux.
isOSX() Returns true if the client is running on Mac OS X.
isWindows() Returns true if the client is running on Windows.


Functions

system.hasFocus()
Returns true if the game window currently has focus. This may only work on Windows.

Environment:

Client
system.isLinux()
Returns true if the client is running on Linux.

Environment:

Client
system.isOSX()
Returns true if the client is running on Mac OS X.

Environment:

Client
system.isWindows()
Returns true if the client is running on Windows.

Environment:

Client

Valid XHTML 1.0!