Search found 3 matches

by iarnazca
08 Mar 2011 11:46
Forum: DOS Batch Forum
Topic: Ghoul
Replies: 3
Views: 3660

Re: Ghoul

Code: Select all

@echo off &setlocal
set "number=12345678"
set /a x1=%random%%%8
call set "ros=%%number:~%x1%,1%%"
ECHO %ros%
pause



Code by Batmaster with help from aGerman.

Solution to the looting problem. Should generate a random number between 1 and 8
by iarnazca
17 Sep 2010 11:28
Forum: DOS Batch Forum
Topic: Ghoul
Replies: 3
Views: 3660

Re: Ghoul

typing loot will crash it @echo off title Ghoul :start echo. echo. echo. echo. echo. echo. echo. echo Type "help" for help echo. echo. echo. echo. echo. echo. echo. echo Scripted by John Newell echo. echo. echo. echo. echo. echo. echo. echo. echo. echo. echo. echo. pause echo. echo. echo. ...
by iarnazca
17 Sep 2010 11:28
Forum: DOS Batch Forum
Topic: Ghoul
Replies: 3
Views: 3660

Ghoul

I had to learn bat files for one of the servers at work. In learning it I made this code. (And kept it as a cookie on the actual file) but now its just gonna sit there. If any one wants to take it and make it better or look at it or just play the little game real quick feel free. type "help&quo...