Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

The Matrix


ghost's Avatar
0 0

Hey, ive been to these sites.. though im not really interested in hacking…

I want to make a matrix-like program in DOS (batch files)..

Also i want my text to appear as like it is being written to the screen instead of the full text all at once!

So in a way, i want it to look like there's someone talking to me… Or like the console is talking to me..

Example: (upon clickin .bat) The matrix has you…

  • wait 4 seconds - Follow the white rabbit
  • wait 4 seconds - Knock, knock, Neo

hellboundhackersok's Avatar
Banned
0 0

Oh and slee(5) would wait 5 seconds, so try to use sleep(0.25) or lower…


ghost's Avatar
0 0

'sleep' is not recognized as an internal or external command

My code:

cls
echo The matrix has you...

sleep(5)

echo Follow the white rabbit

sleep(5)

echo Knock, knock, Neo

pause
exit```

yours31f's Avatar
Retired
10 0

actually its sleep(x); where x is the MILISECONDS. or 100th of a second for example 100 is 1 second.


hellboundhackersok's Avatar
Banned
0 0

Oh crap yeah.. I'm getting rusty with C++ haven't coded in a while.. and you have to use a header… which I have forgotten. Use g00gle ;)


hellboundhackersok's Avatar
Banned
0 0

Oh then it's SLEEP(5) but if you want it to look like typing you have to

SLEEP(5) H SLEEP(5) e SLEEP(5) l SLEEP(5) l SLEEP(5) o SLEEP(5)

etc…


ghost's Avatar
0 0

hmm i still get the code from that SLEEP don't exist!


ghost's Avatar
0 0

im using XP media center


ghost's Avatar
0 0

the resource kit works fine for me THANKS!!! :D

Right now it works besides the "typing look a like" thingy.. But i will use this code:

http://www.hellboundhackers.org/code/readcode.php?id=321

This is my current code… Feel free to mess around with it. Thanks guys, you where all a great help.

cls
color A

echo The matrix has you...

sleep 3

echo Follow the white rabbit

sleep 3

echo Knock, knock, Neo

PAUSE > nul
exit```