Luigi Grandmaster Cheater Supreme
Reputation: 1
Joined: 24 Mar 2008 Posts: 1082
|
Posted: Sun May 18, 2008 1:03 am Post subject: My compilement of cmd things |
|
|
Made this to create less spam. I don't really care if compilement isn't a word or not
timer code
@echo off
title (timer title)
echo (whatever time)
ping localhost -n 2 > nul
cls
echo (so on just keep going down from where you started like if above was 30 this would be 29 and so on)
ping localhost -n 2 > nul
this works like the ping localhost just adds a small pause like you'd do
echo (whatever time)
ping localhost -n 2 > nul
cls
^^that for every second counted down
heres the code for selectable options
@echo off
echo(text)
echo (option1)
echo (option2)
set input=
set /p input=
if %input%==(option1) goto n
if %input%==(option2) goto a
:n
echo text
echo text
pause
:a
echo text
pause
if you want something to make like 15 options or so you'll have to pm me.
How this works is like if you put 1 for example and theres goto n, it goes to :n and theres text there. if 2 then its goto a and stuff at :a happens
adding more later!
|
|