summaryrefslogtreecommitdiffstats
path: root/modules/chat
diff options
context:
space:
mode:
authorshackspace e.V <shack@shack.(none)>2010-05-06 22:47:01 +0200
committershackspace e.V <shack@shack.(none)>2010-05-06 22:47:01 +0200
commitf199aff05248164cc49391de2e9785416e9902fb (patch)
treefa2794d71edaea41c92f0ef1cf10bd2c3fdab314 /modules/chat
parentde52c85164a0f98dee94d62b824dd2360cd77d54 (diff)
prepared /join and /part for room based chatting
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