Lua functions

GetServerVariable

Registered in this checkout as EQ2Emu_lua_GetServerVariable; implementation found at WorldServer/Lua/LuaFunctions.cpp:11429.

Historical signature: GetServerVariable(name)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: GetServerVariable(name)

Description: Gets a server variable string.

Parameters:

  • name (string) - String name.

Returns: Returns string if matches a variable name, otherwise returns NULL.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.