etlegacy-lua-scripts/README.md

54 lines
1.3 KiB
Markdown
Raw Normal View History

2013-11-17 21:13:11 +00:00
# Lua scripts
2013-04-06 11:22:22 +00:00
2016-02-06 16:03:43 +00:00
* Lua scripts for the Legacy mod.
2013-09-22 06:52:53 +00:00
## CONSTANTS
2013-12-22 21:42:28 +00:00
* Scripts with useful constants for custom scripts
2013-09-22 06:52:53 +00:00
## dynamite
* This Script supports beside legacy mod: ETPro, EtPub & NoQuarter
2013-09-22 06:52:53 +00:00
* Clients can toggle dynatimer with `setu v_dynatimer 1/0`
2013-11-17 21:13:11 +00:00
## xpsave
2013-12-22 21:42:28 +00:00
* This script is intended for Legacy mod, but may work in NoQuarter 1.2.9 and above
2014-01-21 19:03:56 +00:00
* LuaSQL module with sqlite3 driver is required
* The script could be tweaked to use file backend or other database drivers instead of sqlite3
2013-11-17 21:13:11 +00:00
2014-01-21 19:00:22 +00:00
## noq (under construction)
2014-01-21 19:03:56 +00:00
* Game manager, shrubbot and/or ET admin mod replacement
* LuaSQL module with sqlite3 or mysql driver are required
2014-02-08 17:36:06 +00:00
## 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?
2014-02-11 00:26:34 +00:00
## ladm - lightweight administration suite
* NOTE: not even alpha state. Do not use.
2016-01-17 21:21:10 +00:00
* manage users on your server
## announcehp
* Killer's HP is displayed to their victims.
2016-02-06 16:03:24 +00:00
# Notes
* Please always add modname and version to your lua script
```
modname="NameofLua"
version="1.0"
function et_InitGame()
et.RegisterModname(modname.." "..version)
end
```