summaryrefslogtreecommitdiffstats
path: root/modules/chat
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chat')
-rwxr-xr-xmodules/chat11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/chat b/modules/chat
new file mode 100755
index 00000000..66fca5e6
--- /dev/null
+++ b/modules/chat
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+case "$1" in
+ (--help) echo send text to everyone with @@ prepended ;;
+ (q)
+ echo quit chat mode
+ echo /set default_command espeak >$NOISE_linefeed;;
+
+ (*)
+ echo /wall @@ $* >$NOISE_linefeed
+esac