coin module.

This commit is contained in:
Storm Dragon committed 2016-09-05 21:44:04 -04:00
1 parent af18b6c47a
commit d9b180deb3
6 files changed
+64 -16

No files matched your search

+11 -1
View File
@@ -2,7 +2,17 @@
[ -f functions.sh ] && source functions.sh
[ -f bot.properties ] && source bot.properties
input=".bot.cfg"
input=".botinput"
close_bot()
{
echo -en "QUIT :$quitMessage\r\n" >> "$input"
rm "$input"
sleep 10
}
trap close_bot EXIT $?
echo "Starting session: $(date "+[%y:%m:%d %T]")" | tee $log
echo "NICK $nick" > $input
echo "USER $user" >> $input