Commit Graph

24 Commits

Author SHA1 Message Date
luk3yx 53fbd7e6d9 More cloaking integration
Show the client-side "you are cloaked" message when the user tries to send a message to #main while cloaked.
2018-08-27 07:32:05 +12:00
luk3yx 6c6333b1c9 Bugfixes
Fixes player tracking when the /status message contains text and/or newlines after the clients list.
2018-08-25 09:19:27 +12:00
luk3yx 0ea0f1920f Fix /s local echo 2018-07-31 07:52:55 +12:00
luk3yx c5f5c6713d Bugfix 2018-07-31 07:39:59 +12:00
luk3yx 782bfdf26f Add '@/' prefix 2018-07-31 07:38:33 +12:00
luk3yx ff6c99dd1f Fix bugs with the local echo channel
Allow users to change to the local echo channel without it reporting it empty and add it to README.md
2018-07-16 09:24:23 +12:00
luk3yx 8b08fdd748 Fix typographical error 2018-04-16 13:14:51 +12:00
luk3yx 17edab1d71 Allow US spelling for .strip_colours, update README 2018-04-16 12:42:23 +12:00
luk3yx 288f591d31 API-ify and add .strip_colours 2018-04-16 12:32:48 +12:00
luk3yx e32643e838 Add .coords to send player co-ordinates into chat. 2018-04-16 11:41:30 +12:00
luk3yx 3c29637838 Bugfixes and cloaking detection
Doesn't allow you to send a message while cloaked.
2018-04-14 12:10:48 +12:00
luk3yx 62e3096a9f Fix bug by keeping track of players
Keeps track of connected players to allow players outside of the server's viewing range to be accounted for.
2018-04-14 11:45:32 +12:00
luk3yx 322e421645 Revert changes
On servers that hide far away players, this breaks.
2018-04-14 11:16:15 +12:00
luk3yx 08fce50d51 Don't send messages to players that don't exist
Doesn't try PMing players that aren't connected, and throws a "The channel is empty" error if the specified channel has no users.
2018-04-14 10:57:21 +12:00
luk3yx d2d65be1d9 Fix local echo in laggy servers
Instead of displaying the first buffer item, now display the whole buffer when required.
2018-04-08 11:57:30 +12:00
luk3yx 11f338ee01 Add `@[off]`
`@[off]` prefixes messages with `[off]`, and is displayed in chat as `[off]`.
2018-04-07 16:59:04 +12:00
luk3yx dac3ebcd3a Modify the `#` and `@` channels
The `#` channel is now blocked, and the `@` channel can be used as a local echo.
2018-04-07 15:42:11 +12:00
luk3yx b101206115 Add channel prefix check to incoming PMs 2018-04-07 15:37:12 +12:00
luk3yx eca229645a Modify README and add .toggle_main
Add docs into README.md and add `.toggle_main` to hide messages from #main. if #main has been renamed, `.toggle_main` will reflect those changes.
2018-04-07 15:12:39 +12:00
luk3yx 22ef5669e5 Remove useless variable 2018-04-07 14:35:05 +12:00
luk3yx b4f051f29a Change how normal messages are prefixed
Messages are now only prefixed with -#main- if other channels exist and you are on #main.
2018-04-07 14:24:45 +12:00
luk3yx 21a898a94b Fix game crashing bug 2018-04-07 14:13:06 +12:00
luk3yx c449544b14 Make `players` variable local 2018-04-07 14:09:19 +12:00
luk3yx fc2c1f67fe Add code 2018-04-07 14:02:10 +12:00