change default chat.log location and tone of prompts

This commit is contained in:
sorrel 2024-04-12 14:50:55 -04:00
parent 2815067b1c
commit cd14df1f11
3 changed files with 30 additions and 20 deletions

13
heed
View file

@ -1,12 +1,17 @@
#!/bin/sh -e
chatlog=var/log/bunkchat/chat.log
clear
figlet -f future heed - bunkchat
echo "╻ ╻┏━╸┏━╸╺┳┓ ┏┓ ╻ ╻┏┓╻╻┏ ┏━╸╻ ╻┏━┓╺┳╸"
echo "┣━┫┣╸ ┣╸ ┃┃ ╺━╸ ┣┻┓┃ ┃┃┗┫┣┻┓┃ ┣━┫┣━┫ ┃ "
echo "╹ ╹┗━╸┗━╸╺┻┛ ┗━┛┗━┛╹ ╹╹ ╹┗━╸╹ ╹╹ ╹ ╹ "
echo "#######################################################################"
echo "# Take heed, $USER! This is a group chat with everyone on the server! #"
echo "# You can view earlier chat with 'scry' or 'less /srv/bunkchat.txt' #"
echo " Take heed, $USER! This is a group chat with everyone on the server!"
echo " You can view earlier chat with 'scry' or 'less /srv/bunkchat.txt'"
echo "#######################################################################"
echo
tail -f /srv/bunkchat.txt
tail -f $chatlog