From 2c766aa001be58280816590efacd04e668169777 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Mon, 18 May 2026 15:47:20 -0600 Subject: [PATCH] wooo --- customscripts/princess-pi-broadcast-system | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/customscripts/princess-pi-broadcast-system b/customscripts/princess-pi-broadcast-system index afc50c2..bf841d6 100644 --- a/customscripts/princess-pi-broadcast-system +++ b/customscripts/princess-pi-broadcast-system @@ -1,18 +1,20 @@ #!/bin/bash +# ig give a default optionfuck if [ -z "$1" ]; then msg="SHIT'S GOIN ON RN" else msg="$1" fi +# faggot function broadcast_important_princess_message () { - # Check if a message was provided + # fuckin hell if yo dont have an arg fuku if [ -z "$1" ]; then echo "Usage: broadcast_important_princess_message \"Princess' Important Message\"" >&2 return 1 fi - # Check for root/sudo privileges (required to write to other users' PTYs) + # am i rootie? if [ "$EUID" -ne 0 ]; then echo "Error: fuckyou dis shit needs root FAIL" >&2 return 1 @@ -24,11 +26,11 @@ broadcast_important_princess_message () { echo "Broadcasting message to all ponies~" - # Loop through all numeric entries in /dev/pts/ + # loop throu /dev/pts/ for pty in /dev/pts/[0-9]*; do - # Ensure it's an actual character device file before writing + # Eig check it fuukc if [ -c "$pty" ]; then - # Send the message with a clear broadcast banner + # end my IMPORTANT MESSAGE IN RED WITH A BANMNER { echo -e "\033[31m" echo -e "=== PRINCESS BROADCAST SYSTEM ($timestamp) ==="