index.dcgi - dotg - Day Of The GrParazyd
 (HTM) git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dotg
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
       ---
       index.dcgi (2942B)
       ---
            1 #!/bin/bash
            2 
            3 search="$1"
            4 arguments="$2"
            5 host="$3"
            6 port="$4"
            7 traversal="$5"
            8 selector="$6"
            9 
           10 clicknum=$(printf "%s\n" "${traversal}" | cut -d '/' -f 2)
           11 if [ -z "${clicknum}" ];
           12 then
           13         clicknum=0
           14 fi
           15 nextclick=$(( $clicknum + 1 ))
           16 
           17 printf "[1|Click|/click/%s|server|port]\n" "${nextclick}"
           18 printf "Please click.\n"
           19 printf "Click %s\n" "${clicknum}"
           20 printf "\n"
           21 if [ $clicknum -eq 1 ];
           22 then
           23         printf "You know, dotg2 was supposed to be...\n"
           24 elif [ $clicknum -eq 2 ];
           25 then
           26         printf "...the game that redefined gaming. But then...\n"
           27 elif [ $clicknum -eq 3 ];
           28 then
           29         printf "...something happened. A giant...\n"
           30 elif [ $clicknum -eq 4 ];
           31 then
           32         printf "...invasion of reality. It was...\n"
           33 elif [ $clicknum -eq 5 ];
           34 then
           35         printf "...all over the daytime, honking in gibberish. It was...\n"
           36 elif [ $clicknum -gt 5 ] && [ $clicknum -lt 11 ];
           37 then
           38         printf "...a cacophony of chaos, and then the lead developers...\n"
           39 elif [ $clicknum -gt 10 ] && [ $clicknum -lt 21 ];
           40 then
           41         printf "...tripped over and spilled their commits all over the...\n"
           42 elif [ $clicknum -gt 20 ] && [ $clicknum -lt 51 ];
           43 then
           44         printf "...git repository. The whole system complexified and with it...\n"
           45 elif [ $clicknum -gt 50 ] && [ $clicknum -lt 101 ];
           46 then
           47         printf "...the only idea of the game. So they decided to...\n"
           48 elif [ $clicknum -gt 100 ] && [ $clicknum -lt 201 ];
           49 then
           50         printf "...start from scratch, but then the programmer...\n"
           51 elif [ $clicknum -gt 200 ] && [ $clicknum -lt 301 ];
           52 then
           53         printf "...only spoke in limericks, which made coding a bit...\n"
           54 elif [ $clicknum -gt 300 ] && [ $clicknum -lt 401 ];
           55 then
           56         printf "...interesting. Eventually, they hired a translator, but...\n"
           57 elif [ $clicknum -gt 400 ] && [ $clicknum -lt 501 ];
           58 then
           59         printf "...the translator only knew Pig Latin, so everything...\n"
           60 elif [ $clicknum -gt 500 ] && [ $clicknum -lt 601 ];
           61 then
           62         printf "...got even more confusing. The Bitreich CEO then suggested...\n"
           63 elif [ $clicknum -gt 600 ] && [ $clicknum -lt 701 ];
           64 then
           65         printf "...maybe we should just make dotg3 instead, but...\n"
           66 elif [ $clicknum -gt 700 ] && [ $clicknum -lt 801 ];
           67 then
           68         printf "...then someone pointed out that skipping dotg2...\n"
           69 elif [ $clicknum -gt 800 ] && [ $clicknum -lt 901 ];
           70 then
           71         printf "...might cause a rift in the space-time continuum. So...\n"
           72 elif [ $clicknum -gt 900 ] && [ $clicknum -lt 1001 ];
           73 then
           74         printf "...they decided to ...\n"
           75 elif [ $clicknum -gt 1000 ] && [ $clicknum -lt 1501 ];
           76 then
           77         printf "... they decided to ...\n"
           78 elif [ $clicknum -gt 1500 ] && [ $clicknum -lt 2001 ];
           79 then
           80         printf "...  they decided to ...\n"
           81 elif [ $clicknum -gt 2000 ] && [ $clicknum -lt 10001 ];
           82 then
           83         printf "... make a clickolding game.\n"
           84         printf "Thanks for making it this far!\n"
           85 elif [ $clicknum -gt 10000 ];
           86 then
           87         printf "You made it to the end.\n"
           88         printf "[0|You are worthy to hear the backstory.|/click/backstory.txt|server|port]\n"
           89 fi
           90 printf "\n"
           91 printf "[1|<< back to bitreich.org||server|port]\n"
           92