aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYargo <yargo@circumlunar.space>2018-10-07 21:04:01 +0000
committerYargo <yargo@circumlunar.space>2018-10-07 21:04:01 +0000
commit7af1bb8281bf6a2f0529bd8be95d5f4f627fcd4b (patch)
tree5842a3ea4b3709f16fd86e46ad58fd3fe47306e3
parentreplace who by w: more useful! (diff)
implement "unimplemented" commands
-rwxr-xr-xtelem.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/telem.lua b/telem.lua
index 694f4b9..63e5c70 100755
--- a/telem.lua
+++ b/telem.lua
@@ -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