Lua scripts for the Legacy mod
Find a file
2016-10-21 22:13:22 +02:00
announcehp modname and version added 2016-02-06 16:58:13 +01:00
banners lua: some clean up 2016-10-21 22:13:10 +02: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
rating code cleanup 2016-09-23 20:10:23 +02:00
TESTS added all CS constants 2016-09-08 17:40:24 +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-10-21 22:13:22 +02:00

Lua scripts

  • Lua scripts for the Legacy mod.

CONSTANTS

  • Scripts with useful constants for custom scripts

banners (under construction)

  • Banners managment system in lua

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