diff options
author | Yargo <yargo@circumlunar.space> | 2018-10-07 21:04:01 +0000 |
---|---|---|
committer | Yargo <yargo@circumlunar.space> | 2018-10-07 21:04:01 +0000 |
commit | 7af1bb8281bf6a2f0529bd8be95d5f4f627fcd4b (patch) | |
tree | 5842a3ea4b3709f16fd86e46ad58fd3fe47306e3 /telem.lua | |
parent | replace who by w: more useful! (diff) |
implement "unimplemented" commands
Diffstat (limited to '')
-rwxr-xr-x | telem.lua | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -112,6 +112,10 @@ function do_help2() cat_file("/var/bbs/docs/help2") end +function do_unimplemented() + print("Sorry, this command is not (yet) implemented!") +end + function do_list() for _,b in pairs(board_names) do posts = -3 -- Don't want to count "topic" file or "." or ".." @@ -243,6 +247,13 @@ dispatch["t"] = do_type dispatch["?"] = do_help2 dispatch["!"] = do_rules dispatch["w"] = do_who +dispatch["s"] = do_unimplemented +dispatch["="] = do_unimplemented +dispatch["M"] = do_unimplemented +dispatch["n"] = do_unimplemented +dispatch["r"] = do_unimplemented +dispatch["b"] = do_unimplemented +dispatch["c"] = do_unimplemented -- Infinite loop of command dispatch repeat |