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

[WIP]Best Program Evaaa!

Started by Sammich Lord, 23 November 2012 - 11:04 PM
Sammich Lord #1
Posted 24 November 2012 - 12:04 AM
Well I think I have made the best program in ComputerCraft! Here is the code:

print("password:")
input = read()
if input == "passwordsAreCoolz" then
  shell.run("pastebin get abc123 startup")
else
  print("You sir have failed.")
  read()
  os.reboot()
end
It has auto updates and stuffz! Remember to +1 if you like it!!
Mendax #2
Posted 24 November 2012 - 02:22 AM
I am assuming you are trying to make a point about the stupid programs on here? It worked…
ChunLing #3
Posted 24 November 2012 - 03:43 AM
No it didn't; this program is totally busted. When you type in "passwordsAreCoolz" it just says "Failed."

Failed…like you, as a programmer!
1lann #4
Posted 24 November 2012 - 04:23 AM
No it didn't; this program is totally busted. When you type in "passwordsAreCoolz" it just says "Failed."

Failed…like you, as a programmer!
Im pretty sure it's meant to be a failure. So fail to you in not noticing?
ChunLing #5
Posted 24 November 2012 - 05:57 AM
Okay, full disclosure, I didn't actually try running the program.
overfritz #6
Posted 24 November 2012 - 06:26 AM
Yeah, I'm pretty sure this is a point out to all the poorly designed programs out there…and from looking at it closely, the "shell.run()" line won't work. Which means that it won't download the abc123 pastebin file. So it's useless. Congratulations!
Dlcruz129 #7
Posted 24 November 2012 - 07:33 AM
Correct usage: shell.run("pastebin", "get", "abc123", "startup")
MysticT #8
Posted 24 November 2012 - 07:56 AM
Correct usage: shell.run("pastebin", "get", "abc123", "startup")
You may want to check the changes in the newer versions (I can't remember wich one now). You can use it like he did now ;)/>/>.
ben657 #9
Posted 24 November 2012 - 08:28 AM
NEEDS REDNET, TURTLES AND COLOUR MONITOR SUPPORT!!!!!!11!!11!2!!1!1!!1!
overfritz #10
Posted 24 November 2012 - 09:55 AM
NEEDS REDNET, TURTLES AND COLOUR MONITOR SUPPORT!!!!!!11!!11!2!!1!1!!1!

AGREED ERMEHGERD IT NEEDS RDNT STUZZ AN HAS A PERIPHRAL FO IT TOOO!!!!!!1!!!111!!!2!!
dissy #11
Posted 24 November 2012 - 11:48 AM
Hello Human, I typed your program into a banana and its not working. Can you help me install Minecraft to use your wonderful banana, er I mean software OS program? plzktnk
lieudusty #12
Posted 24 November 2012 - 12:31 PM
OMFGG ITS THE BEST PROGRAM EVAAA!1!!!1!!!!1!!1! /sarcasm
PixelToast #13
Posted 24 November 2012 - 12:45 PM
i see how you copied a cirtain someone's way of using shell.run with pastebin :3
OMFG IT IS~!!!!!!!!!!!!!!!!!!
;)/>/> I've seen so many best programs evah, but this one totally pushes itself to FIRST FUCKING PLACE!
-_-/>/> Uhm… where can I get the hardware to use such a masterpiece? My cpu can't handle it!

trolololollol? :3
i see who you referenced there
PixelToast #14
Posted 24 November 2012 - 12:49 PM
xD I'm making fun of that troll.
i dont have the hardware to compute trolling, sorry :c
PixelToast #15
Posted 24 November 2012 - 12:53 PM


will it blend, that is the question
you little troll :3 <3
PixelToast #16
Posted 24 November 2012 - 12:58 PM
will it blend, that is the question
try to blend it with you blender
now you know how it feels to get code stolen from you
PixelToast #17
Posted 24 November 2012 - 01:00 PM
not sure if noob, or just purposefully making me confused
Expenox #18
Posted 24 November 2012 - 01:27 PM
OMFGG ITS THE BEST PROGRAM EVAAA!1!!!1!!!!1!!1! /sarcasm
OF COURSE IT IS, ITS SO COMPLEX!!11!!!1!!!1!!!
rhyleymaster #19
Posted 24 November 2012 - 01:41 PM
This is revolutionary. This changes the face of Lua coding for ever.
Sammich Lord #20
Posted 24 November 2012 - 07:38 PM
I laughed my ass off. It is VERY annoying to see all the shitty scripts on the forums that don't even work. I'm glad that you guys had a good laugh from this.
PixelToast #21
Posted 25 November 2012 - 05:47 AM
sammich approved
ComputerCraftFan11 #22
Posted 25 November 2012 - 11:26 AM
omergawd dis is dah bersdt program everz! u deserv a meddel!!
ElectricOverride #23
Posted 25 November 2012 - 11:34 AM
No it didn't; this program is totally busted. When you type in "passwordsAreCoolz" it just says "Failed." Failed…like you, as a programmer!
Notice in the code: print("You sir have failed.")?

I'm pretty sure this is meant to be a little troll. :D/>/>
ElectricOverride #24
Posted 25 November 2012 - 11:37 AM
My computer broke when I blended the lua program! :D/>/>/&amp;gt;/&amp;gt; PLEASE HELP!
My computer broke when I blended the lua program! :P/>/>/&amp;gt;/&amp;gt; PLEASE HELP!
Well *puts on glasses* looks like your PC took a nil value to the ROM. :l