Technology (Read Only) > Programming
My first attempt at Scripting/Coding!
(1/1)
Juan_Ambriz:
Before you act like a dick saying thats easy and stuff, think twice lol this is my very first time trying to code/script because i really do want to learn LUA.
Thanks to maries IRL friend Infinimint, (seriously man thanks) he sort of got me on track to learning languages and stuff. basically from started from the very easiest.
So here is my .bat file
https://dl.dropbox.com/u/55151124/Test.bat
For those of you who dont trust it, dont worry i umderstand. Here is the script just save a .bat file in notepad
--- Quote ---@echo off
:Menu
CLS
echo -----Welcome To Test Coding, By Juan!!-----
echo ---------------------------------
Echo 1. Test A Website!
Echo 2. Say Hi!
Echo 3. Quit
echo ---------------------------------
set imput=
set /p imput=Please Select a number
If /i '%imput%'=='1' goto 1
If /i '%imput%'=='2' goto 2
If /i '%imput%'=='3' goto Quit
cls
Echo Invalid Key!
echo please select any number from 1-3 in the main menu
echo --------------------------------------------------
echo press any key to continue
Pause > nul
goto menu
:1
cls
Echo Would you like to test If you can connect to google?
echo Press y for Yes and n for No
If /i '%imput%'=='y' goto p
If /i '%imput%'=='n' goto menu
pause
:y
cls
ping Google.com
echo Done Testing! Press any key to go back to the menu!
pause
goto menu
:2
cls
echo Hi BB! :D
pause
goto menu
:3
cls
exit
--- End quote ---
Also another BIG thanks to Infinimint lol seriously man, thanks
YomoFox:
I don't see whats your problem?
○ Μαρία ○:
--- Quote from: YomoFox on August 28, 2012, 09:04:07 AM ---I don't see whats your problem?
--- End quote ---
He's not asking for help, he is just asking for suggestions and telling people what his is planning on doing. :)
Navigation
[0] Message Index
Go to full version