This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MudkipTheEpic's profile picture

First Programs

Started by MudkipTheEpic, 07 April 2013 - 06:41 AM
MudkipTheEpic #1
Posted 07 April 2013 - 08:41 AM
This thread is just a place to post all of your first program to laugh at, etc. Also, post a new and improved version if you want (for a challenge, or if you are bored)

Edit: All right: Please don't post hello world, and please post CCLua programs. :P/>


(General: Post anything and everything related to anything)
Edited on 08 April 2013 - 10:39 AM
Mads #2
Posted 07 April 2013 - 09:29 AM
My first programme in C++ had all the mistakes. No optimisation and no proper usage of namespaces, C++ stuffs, etc. I don't have the source, though.
Dlcruz129 #3
Posted 07 April 2013 - 10:07 AM
My first program? Here you go:
print("Hello World!")
lieudusty #4
Posted 07 April 2013 - 10:20 AM
A hello world in Python
LuaEclipser #5
Posted 07 April 2013 - 10:21 AM
my first program? here you go

local brick = Workspace.door

function onTouch(part)
brick.transparency = 0.5
wait(1)
brick.transparency = 0
end

brick.Touched:connect(onTouch)

roblox FTW
Hinds #6
Posted 07 April 2013 - 10:24 AM
Hello world in java, if you exclude the minecraft mod stuff I did before hand. That's how I got into programming :P/>
TheOddByte #7
Posted 07 April 2013 - 10:25 AM
Huh.. I guess mine was the same as Dlcruz129's..
Hello World! FTW :P/>
PixelToast #8
Posted 08 April 2013 - 04:22 AM
roblox FTW
i miss roblox, its been [acronym='getting increasingly marketed and stuffed full of bullshit']dead[/acronym] for awhile :s

i didnt really start out writing my programs, just editing them
i do remember the program that first got me into batch:

:: went something like this
set /p host=host:
:start
set /p msg=msg:
net send %host% %msg%
goto start
1lann #9
Posted 08 April 2013 - 04:33 AM
echo "hi"
pause
MudkipTheEpic #10
Posted 08 April 2013 - 05:36 AM
Updated OP. XD

And if you have a pastebin link, use it.
Mailmanq! #11
Posted 08 April 2013 - 05:52 AM
Something that was a combination of AppleScript and bash so I could launch the different games' servers my friends and I played on just with a button press in a nice little menu.
PixelToast #12
Posted 08 April 2013 - 05:54 AM
Edit: All right: Please don't post hello world, and please post LUA programs. :P/>
lol i dont remember my first CC program .-. ill probably remember it later
Tiin57 #13
Posted 08 April 2013 - 06:17 AM
First program was a door lock in Tekkit 3.0.3.
Smiley43210 #14
Posted 08 April 2013 - 11:23 AM
Off topic: I gotta say, my first Lua script was in Roblox.

On topic: First CC script
Spoiler
write("Starting")
sleep(0.5)
write(".")
sleep(0.5)
sleep(0.5)
write(".")
sleep(0.5)
write(".")
sleep(0.5)
write(".")
sleep(0.5)
write(".")
sleep(0.5)
write(".")
sleep(0.5)
write(".")
sleep(0.5)
term.clear()
write("Startup successful!")

First CC program
http://pastebin.com/KchWR75E
GravityScore #15
Posted 08 April 2013 - 01:54 PM
My first program was a random number generator in Objective-C. I think my first useful CC program was a door lock with SHA-1 encryption over Rednet :)/>
Kingdaro #16
Posted 08 April 2013 - 01:56 PM
http://scratch.mit.edu/projects/Kingdaro/181942

*flees*
Imque #17
Posted 08 April 2013 - 02:12 PM
Batch: Folder locker. I dont have the code…
Engineer #18
Posted 08 April 2013 - 02:16 PM
My very first code was a door lock in tekkit.
I remember that I was amazed that someone made a different startup message.

I was searching all over the webs on how to make that.. Until now I still dont know that…

SpoilerOf course I know it now :P/>
Ristyo #19
Posted 08 April 2013 - 11:27 PM
My first program was also a door lock
Smiley43210 #20
Posted 09 April 2013 - 01:00 AM
I remember using Scratch before…

Looking back at it, I think it's more difficult to use scratch than to script something. xD
1lann #21
Posted 09 April 2013 - 01:01 AM
Heh. Scratch.
When I was first introduced to it by my school I made this:
http://scratch.mit.edu/projects/1lann/2157078
It's buggy for some reason in the new scratch flash player
Hold Q for 2 seconds to attempt to fix things :P/> (Like when the missile doesn't move when starting a game)
And yeah, REALLY HORRIBLY CRUDDY GRAPHICS
jag #22
Posted 17 May 2013 - 05:05 AM
I've almost always been posting my stuff on pastebin :D/>
So here's my first (saved) pastebin post: C1wgp6ex
As you might see, it's a doorlock. :)/>
valithor #23
Posted 17 May 2013 - 12:36 PM
a very simple 1x1 tunneling program