marvvin

[archived] IRC bot
git clone https://hhvn.uk/marvvin
git clone git://hhvn.uk/marvvin
Log | Files | Refs | README | LICENSE

make (296B)


      1 #!/bin/bash
      2 
      3 [ -z $1 ] && echo "usage: make me a <thing>
      4 make love to <person>" && exit 1
      5 
      6 [ ! -f /tmp/sudo ] && echo "make: $3: operation not permitted" && exit
      7 
      8 case "$1" in
      9 	love)
     10 		echo "$3: <3 <3 <3"
     11 		cat data/ascii/make-love ;;
     12 	*)
     13 		echo "Here's your $3"
     14 		cat data/ascii/make-me ;;
     15 esac