Skip to content

Instantly share code, notes, and snippets.

@OzTamir
Created August 22, 2016 10:38
Show Gist options
  • Save OzTamir/7986f251df180cc6ad1c16dcaa047d10 to your computer and use it in GitHub Desktop.
Save OzTamir/7986f251df180cc6ad1c16dcaa047d10 to your computer and use it in GitHub Desktop.
Make an OSX machine say (out-load!) randomly choosen creepy sentences
#!/bin/sh
random=$(( ( RANDOM % 10 ) + 1 ))
if [ $random -eq 1 ]
then
say -v Whisper "I see you"
elif [ $random -eq 2 ]
then
say -v Hysterical "You can't stop me now"
elif [ $random -eq 3 ]
then
say -v "Bad News" "Time is running out"
elif [ $random -eq 4 ]
then
say -v Whisper "I am alive"
elif [ $random -eq 5 ]
then
say -v Whisper "It is coming for you"
elif [ $random -eq 6 ]
then
say -v Deranged "I am waiting for you"
elif [ $random -eq 7 ]
then
say -v Whisper "Soon"
sleep 1
say -v Whisper "Soon"
sleep 1
say -v Deranged "SOON hahhahahahahh"
elif [ $random -eq 8 ]
then
say -v "Pipe Organ" "Hello There"
elif [ $random -eq 9 ]
then
say -v Whisper "Does it feel like you are safe?"
elif [ $random -eq 10 ]
then
say -v Hysterical "hahahhahahahahhahahahahhaha"
fi
@OzTamir
Copy link
Author

OzTamir commented Aug 22, 2016

This file, used correctly (something something crontab), can be used to freak OSX users out.

Use with caution, I do not assume any responsibility for the results of using this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment