User:ReyalP: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
*[http://www.collectivecomputing.com/~reed/et/lua/luaconmod.lua luaconmod.lua] runs luacon as module.
*[http://www.collectivecomputing.com/~reed/et/lua/luaconmod.lua luaconmod.lua] runs luacon as module.
*[http://www.collectivecomputing.com/~reed/et/lua/cvarobj.lua cvarobj.lua] metamethods example. Allows using cvars like normal lua variables.
*[http://www.collectivecomputing.com/~reed/et/lua/cvarobj.lua cvarobj.lua] metamethods example. Allows using cvars like normal lua variables.
*[http://www.collectivecomputing.com/~reed/et/lua/dumptable.lua dumptable.lua] recursively display contents of a table.

Revision as of 06:07, 5 November 2005

http://www.collectivecomputing.com/~reed/et/bananet.png

ETPro/Lua libraries, modules and examples

Follow the link to the source code for more detailed information about each item.
  • autoref.lua lua module to give people referee status, based on IP or PB GUID. Requires etconst.lua
  • etconst.lua some common constants from the et header files, converted to lua.
  • luacon.lua library provides a lua command in the server console, for interactive testing.
  • luaconmod.lua runs luacon as module.
  • cvarobj.lua metamethods example. Allows using cvars like normal lua variables.
  • dumptable.lua recursively display contents of a table.