/mc/ - tildecraft

a man, a plan, a canal, troido

readdat () { read -r var; echo "$var" | grep -qE "[a-Z].*" || var=$2; echo "$var" > "$1"; };echo "Post to:"; read -r parent; echo "$parent" | grep -qE "([a-Z]|[1-9]).*" || exit;postdir=$(echo "$parent"-"$RANDOM");mkdir ./"$postdir" && cd ./"$postdir" || exit; echo "Name (blank for anonymous):";readdat "user" "Anonymous";echo "Title (blank for none):";readdat "title" "";echo "Absolute path to image (blank for none):";read -r imagepath; echo "$imagepath" | grep -qE "[a-Z].*" && if test -f "$imagepath"; then cp "$imagepath" .;else echo "could not find $imagepath";fi;echo "Post text (Ctrl-D to finish):"; cat > content; cd ..; tar -cf "$postdir".tar ./"$postdir";rm -rf "$postdir"; echo "posting..."; nc -q2 tilde.team 7070 < "$postdir".tar


wb01.png (988K)

the very 1st time we met wingieboi because he got stuck in the leaves at the tree farm. so young. so innocent.

Post #41 by dzns Thu, 30 Aug 2018 15:42:49 +0000


wb02.png (480K)

welcome to your Forever Home

Post #46 by dzns Thu, 30 Aug 2018 15:52:12 +0000


wb03.png (2.6M)

s w i m m i e b o i = wb's aquatic cousin. manages to scream even beneath the waves with lungs full of water