Skip to content

Instantly share code, notes, and snippets.

@akirataguchi115
Created October 17, 2020 15:26
Show Gist options
  • Save akirataguchi115/c576d1620a24dadc53897308a29c1d71 to your computer and use it in GitHub Desktop.
Save akirataguchi115/c576d1620a24dadc53897308a29c1d71 to your computer and use it in GitHub Desktop.
@echo off
title SimprOS
color 0a
goto:main
:welcome
echo ^!^! Welcome to TempleOS ^!^!
echo ^>
goto:luku
:goodbye
echo Goodbye^!
timeout /t 3 /nobreak > NUL
goto:end
:compiler
echo ^>
echo ^>
echo ^> ...
echo ^> Have you ever coded your own compiler? No you haven't, cause you're a f-
echo ^>
echo ^> ...
echo ^> .. where's my compiler? ..
echo ^> .. im a fa-
echo ^> ..
goto:luku
:help:
echo ^>^> There are currently only a few commands available. ^<^<
echo ^>^> You may try a few of these: ^<^<
echo ^> break, sandels, help
goto:luku
:sandels
echo Cpt. Sandels is not hiding here^!
:luku
set /p user="> "
if %user% equ break goto:goodbye
if %user% equ help goto:help
if %user% equ sandels goto:sandels
if %user% equ compiler goto:compiler goto:else
:else
echo ^>
echo ^> Could not find that command! Try help?
echo ^>
goto:luku
:main
goto:welcome
goto:luku
:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment