diff options
-rwxr-xr-x | modules/chat (renamed from modules/atwall) | 0 | ||||
-rwxr-xr-x | modules/join | 10 | ||||
-rwxr-xr-x | modules/part | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/modules/atwall b/modules/chat index 66fca5e6..66fca5e6 100755 --- a/modules/atwall +++ b/modules/chat 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 "[32mdisabled chat mode (set back to espeak)[m" ;; + (--help) echo set default_command to chat and join channel ;; (*) echo /set default_command atwall >$NOISE_linefeed - echo "[32menabled chat mode[m" - echo q or /chat off to go back to espeak ;; + echo /set chat_channel $1 >$NOISE_linefeed + echo "[32mjoined channel $1[m" + echo /part off to go back to espeak ;; esac diff --git a/modules/part b/modules/part new file mode 100755 index 00000000..beb95163 --- /dev/null +++ b/modules/part @@ -0,0 +1,10 @@ +#! /bin/sh + +case "$1" in + (--help) echo leave chat mode ;; + (*) + echo /set default_command espeak >$NOISE_linefeed + echo "[32mdisabled chat mode (set back to espeak)[m" ;; + + +esac |