Commit Graph

13 Commits

Author SHA1 Message Date
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