Commit Graph

14 Commits

Author SHA1 Message Date
s20 c088ba4e40
Add number of connected players to `players` command (#73) 2023-11-04 18:56:07 +01:00
David Leal ac0387786c Fix deprecated functions, update to 5.x (#59) 2019-10-05 09:25:05 +02:00
Anand S b4fbccd64a Add support for configurable coloring of IRC messages in-game
IRC channel messages are colored green by default
IRC PMs are colored purple by default
2018-11-02 21:54:36 -07:00
Diego Martínez 6bf4e111c2 Major cleanup.
- Use `irc.foo` notation instead of `irc:foo`. It still
  supports the `irc:foo` usage, but will helpfully issue
  a warning with the location of the offending code.
- Remove unused arguments from functions.
2017-03-15 21:40:12 -03:00
luk3yx 5f8850bc15 Stop saying "try `list`" on an invalid command.
As the list command is deprecated, this reference to it should be changed.
2017-03-02 01:11:13 -03:00
Diego Martínez 78fbe26a2c Fix error if `@` with no name is used. 2017-02-16 02:38:44 -03:00
Diego Martínez 33542b07fe Add `.luacheckrc` and fix warnings. 2017-02-16 02:36:04 -03:00
Diego Martínez ae0cb08e3e Remove leading whitespace from command before processing.
Fixes bug where `Server:  asdf` (note the double space)
gets taken as an empty command name.
2017-01-29 15:05:42 -03:00
Diego Martínez a18820356a Fix error in previous `help` merge. 2016-12-03 18:41:01 -03:00
Diego Martínez 12248cc847 Minor changes to `botcmds.lua`.
- Merge `list` into `help`.
- Use `table.concat` to remove trailing comma.
2016-11-28 22:17:08 -03:00
Diego Martínez 03070e41c4 Check nickname using RFC1459 rules in `botcmds.lua`. 2016-11-28 01:05:46 -03:00
ShadowNinja 5655f75946 Add success and message return values to bot commands 2014-05-28 20:05:26 -04:00
ShadowNinja 706a6fbe27 Rename "mt_irc" namespace to "irc"
The underlying IRC library is now available as irc.lib.
2014-05-25 22:52:24 -04:00
ShadowNinja ed20a55899 Remove included Lua and LuaSocket source
Also rename README.txt to README.md and update it.
2014-05-15 20:20:22 -04:00