Lua scripts for the Legacy mod
Find a file
2016-09-03 19:04:20 +02:00
announcehp modname and version added 2016-02-06 16:58:13 +01:00
CONSTANTS lua: c&p virus 2013-09-24 20:06:50 +02:00
dynamite dynatimer: quick and dirty fix for lua 5.2.3, refs #609 2014-12-05 22:29:45 +01:00
ladm ladm: fixed sql syntax 2014-10-31 13:18:27 +01:00
noq noq: c&p virus 2014-01-29 16:26:54 +01:00
pm pm: check if the command has enough params 2014-02-12 23:54:18 +00:00
TESTS Update luasql_test.lua 2016-08-27 14:38:04 +02:00
xpsave fixed attempt to index a number value error 2016-09-03 19:04:20 +02:00
zelly@5358d87fb4 zelly: track Zelly's repo 2014-11-21 23:11:35 +01:00
.gitmodules zelly: track Zelly's repo 2014-11-21 23:11:35 +01:00
README.md Update README.md 2016-02-06 17:03:43 +01:00

Lua scripts

  • Lua scripts for the Legacy mod.

CONSTANTS

  • Scripts with useful constants for custom scripts

dynamite

  • This Script supports beside legacy mod: ETPro, EtPub & NoQuarter
  • Clients can toggle dynatimer with setu v_dynatimer 1/0

xpsave

  • This script is intended for Legacy mod, but may work in NoQuarter 1.2.9 and above
  • LuaSQL module with sqlite3 driver is required
  • The script could be tweaked to use file backend or other database drivers instead of sqlite3

noq (under construction)

  • Game manager, shrubbot and/or ET admin mod replacement
  • LuaSQL module with sqlite3 or mysql driver are required

pm - private messages

  • use pm console command to send a private message to another player
  • message is sent to the first matched player name
  • player name is a colour and case-insensitive pattern, e.g. ton will match player /-^321ToN-/
  • usage: pm player Hello, how are you?

ladm - lightweight administration suite

  • NOTE: not even alpha state. Do not use.
  • manage users on your server

announcehp

  • Killer's HP is displayed to their victims.

Notes

  • Please always add modname and version to your lua script
modname="NameofLua"
version="1.0"

function et_InitGame()
        et.RegisterModname(modname.." "..version)
end