Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Troll Game!

Code
@echo off
title Game
if exist Game.txt goto 2
if not exist Game.txt goto 1
:1
echo.
echo Do you want to play a game?
echo      [Y/N]
echo.
echo.
set /p cho=">"
if %cho%==Y goto y
if %cho%==y goto y
if %cho%==N exit
if %cho%==n exit
cls
echo.
echo.
echo Invalid choice^: ^%cho%
echo Please use:
echo.
echo Y = Yes
echo N = No
goto 1
:y
echo Game>Game.txt
copy /y NUL Game.txt >NUL
echo.
echo.
echo      A text document has been generated named Game.txt
echo.
echo       You must write something inside it, anything,
echo               and save it to win this game.
echo.
echo      After you have done so, press any key to close
echo             this program and open it again.
pause>nul
exit
:2
copy /y NUL Game.txt >NUL
echo.
echo.
echo       Are you sure you wrote something inside?
echo     If so, I am having a hard time locating what
echo             you attempted to write.
echo.
pause
cls
:3
echo           Should I open the file for you?
echo                     [Y/N]
set /p des=">"
if %des%==y goto y2
if %des%==Y goto y2
if %des%==n goto 5
if %des%==N goto 5
:y2
start Game.txt
echo If not opening, then you either:
echo.
echo Renamed it.
echo Moved it to another directory.
echo or Deleted it
pause
:5
cls
if exist Game.txt del Game.txt
echo Game>Game.txt
copy /y NUL Game.txt >NUL
echo  Please write something inside Game.txt to win
echo    After you have done so, press any key to
echo       close this program and restart it.
pause>nul
Fun to mess with your friend(s) with it


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by cogamaNov 9, 2015 05:15 PM 1 179 Nov 9, 2015 05:15 PM
Last Post: SavageBoys
[.NET] by ChappieAug 23, 2011 05:48 AM 5 295 Aug 23, 2011 05:48 AM
Last Post: Chappie