Code: Select all
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
::SETLOCAL ENABLEDELAYEDEXPANSION
:Load
set hp=100
set k=0
set x=0
set y=0
set g=Gestapo
set ukg= You killed a %g%!
echo =================Gestapo=================
Echo.
echo The Gestapo are trying to exterminate
echo your babies. The wonderful little rays
echo of sunshine are hinding in a bookshelf
echo to avert the potential crisis.
echo.
echo =================Gestapo=================
Pause>nul
cls
echo =================Gestapo=================
echo.
echo But, you are a valent care giver, kind
echo and equal and trained to kill all in an
echo instaint. Poor Gestapos...
echo.
echo =================Gestapo=================
Pause>nul
cls
:Start
set apl=error
set asl=error
set hsi=error
:Action Prefix List
set /a aplroll=%random%/1560
if /i %aplroll%==0 set apl=hit
if /i %aplroll%==1 set apl=hit
if /i %aplroll%==2 set apl=punch
if /i %aplroll%==3 set apl=headbunt
if /i %aplroll%==4 set apl=stab
if /i %aplroll%==5 set apl=insault
if /i %aplroll%==6 set apl=bite
if /i %aplroll%==7 set apl=dropkick
if /i %aplroll%==8 set apl=kick
if /i %aplroll%==9 set apl=shoot
if /i %aplroll%==10 set apl=knife
if /i %aplroll%==11 set apl=bash
if /i %aplroll%==12 set apl=shank
if /i %aplroll%==13 set apl=poison
if /i %aplroll%==14 set apl=shock
if /i %aplroll%==15 set apl=electrocute
if /i %aplroll%==16 set apl=burn
if /i %aplroll%==17 set apl=gas
if /i %aplroll%==18 set apl=claw
if /i %aplroll%==19 set apl=scratch
if /i %aplroll%==20 set apl=impail
if /i %aplroll%==21 set apl=hang
if /i %aplroll%==22 set apl=throw
:Action Suffix List
set /a aslroll=%random%/2520
If /i %aslroll%==0 set asl=finds jesus
If /i %aslroll%==1 set asl=burns
If /i %aslroll%==2 set asl=bleeds
If /i %aslroll%==3 set asl=drowns
If /i %aslroll%==4 set asl=convilses
If /i %aslroll%==5 set asl=pukes
If /i %aslroll%==6 set asl=staggers
If /i %aslroll%==7 set asl=stumbles
If /i %aslroll%==8 set asl=faints
If /i %aslroll%==9 set asl=explodes
If /i %aslroll%==10 set asl=melts
If /i %aslroll%==11 set asl=disintegrates
If /i %aslroll%==12 set asl=immolates
If /i %aslroll%==13 set asl=sufficates
:HeSheIt
set /a hsiroll=%random%/10922
If /i %hsiroll%==0 set hsi=he
If /i %hsiroll%==1 set hsi=she
If /i %hsiroll%==2 set hsi=it
set /a x=(%random%/7367)+1+(%k%/2)
CLS
echo =================Gestapo=================
echo.
echo.
echo You %apl% the %g% and
echo %hsi% %asl% for %x% Damage!
echo.
set /a hp=%hp%-%x%
If /i %hp% lss 1 set /a k=%k%+1 & echo %ukg%
If /i %hp% lss 1 set /a hp=100+(%k%*2)
echo.
echo =========================================
echo Gustopo hp:%hp% Damage:%x% Kills:%k%
echo =================Gestapo=================
pause>nul
GOTO :start
But it comes up with some pretty funny messages with the words lists.
i Would like to know how to call these message from another file to set the word list variables if anyone can direct me int the right direction?
i have loosely experimented with calling batch label's, but i can not get it to work from another file.
this is the script to make the range of %random% divided if anyone is interested, it takes about an hour to run on my pos computer.
Code: Select all
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
Pause
:Divisor
set d=0
:value of %random%
set r=32767
:Start
set /a x=%x%
if /i %d% equ %r% exit /b
set /a d=%d%+1
set /a x=%r%/%d%
echo %r% / %d% = %x% >> c:\temp\"random divided".txt
goto :start