From d0675339023114166a1f0da81fb49c3ee68d0c18 Mon Sep 17 00:00:00 2001 From: julien Date: Wed, 19 Aug 2009 12:22:40 +0200 Subject: Added the quote module --- shhelp.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'shhelp.sh') diff --git a/shhelp.sh b/shhelp.sh index 27d1b8f..c2bd9c4 100755 --- a/shhelp.sh +++ b/shhelp.sh @@ -1,12 +1,22 @@ #!/bin/bash -ex case "$1" in + "advert") echo "advert : Make shbot speak the truth about himself on the specified CHANNEL." + ;; "help") echo "help : Prints help about TOPIC." ;; + "join") echo "join : Make shbot join the specified CHANNEL." + ;; + "part") echo "part : Make shbot part the specified CHANNEL." + ;; + "quote") echo "quote [OWNER QUOTE] :" + echo " Without arguments : prints a random quote." + echo " if OWNER and QUOTE are provided : save the quote for posterity and legend." + ;; "trains") echo "trains [STATION] : Prints the next trains that will stop at Courbevoie's station." echo " When provided, only results that concerns STATION are advertised." ;; - *) echo "The following commands are available : help trains" + *) echo "The following commands are available : advert help join part quote trains" ;; esac -- cgit v1.2.3