summaryrefslogtreecommitdiffstats
path: root/modules/join
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/join
parentde52c85164a0f98dee94d62b824dd2360cd77d54 (diff)
prepared /join and /part for room based chatting
Diffstat (limited to 'modules/join')
-rwxr-xr-xmodules/join10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/join b/modules/join
index af1c0117..0e0bec2a 100755
--- a/modules/join
+++ b/modules/join
@@ -1,14 +1,12 @@
#! /bin/sh
case "$1" in
- (--help) echo set default_command to atwall and back ;;
- (off)
- echo /set default_command espeak >$NOISE_linefeed
- echo "disabled chat mode (set back to espeak)" ;;
+ (--help) echo set default_command to chat and join channel ;;
(*)
echo /set default_command atwall >$NOISE_linefeed
- echo "enabled chat mode"
- echo q or /chat off to go back to espeak ;;
+ echo /set chat_channel $1 >$NOISE_linefeed
+ echo "joined channel $1"
+ echo /part off to go back to espeak ;;
esac