diff --git a/customscripts/notify-shell-users.sh b/customscripts/notify-shell-users.sh index 3b0899c..8afa5f3 100644 --- a/customscripts/notify-shell-users.sh +++ b/customscripts/notify-shell-users.sh @@ -4,7 +4,6 @@ if [ -z "$1" ]; then else msg="$1" fi -clear broadcast_pty() { # Check if a message was provided @@ -31,14 +30,15 @@ broadcast_pty() { if [ -c "$pty" ]; then # Send the message with a clear broadcast banner { - echo "" - echo "=== SYSTEM BROADCAST ($timestamp) ===" + echo -e "\033[31m" + echo -e "=== PRINCESS BROADCAST SYSTEM ($timestamp) ===" echo -e "$message" - echo "=====================================" - echo "" + echo -e "=====================================" + echo -e "\e[0m" } > "$pty" 2>/dev/null fi done } -broadcast_pty "\n\n\n\n\n\n\n\n\n\n\n\n\n\033[31mFOOOKN $msg IN PROGRESS DONT FUCK WITH ANYTHNG\e[0m\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" \ No newline at end of file +# needz root to write to other peoplez ptys +sudo broadcast_pty "$msg" \ No newline at end of file