Archived
1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
shbot/shhelp.sh

25 lines
825 B
Bash
Raw Normal View History

#!/bin/bash -ex
case "$1" in
2009-08-19 12:22:40 +02:00
"advert") echo "advert <CHANNEL> : Make shbot speak the truth about himself on the specified CHANNEL."
;;
"help") echo "help <TOPIC> : Prints help about TOPIC."
;;
2009-08-19 12:22:40 +02:00
"join") echo "join <CHANNEL> : Make shbot join the specified CHANNEL."
;;
"part") echo "part <CHANNEL> : 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 : advert help join part quote trains duck"
;;
esac
exit 0