Forums - Open Redstone Engineers
computercraft? - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: computercraft? (/thread-342.html)

Pages: 1 2 3 4 5


RE: computercraft? - mad1231999 - 06-16-2013

(06-15-2013, 08:48 PM)Xeomorpher Wrote: I see java.

Ignore those videos.


RE: computercraft? - Xeomorpher - 06-16-2013

IGNORE ALL THE VIDEOS.


RE: computercraft? - Malcolmforde - 06-18-2013

A Etho joke: (Relates to him coding in computercraft)

Code:
rain = 0
etho = 1
if etho == 1 then
   rain = rain + 1
end
if rain == 1 then
  print("You: DAMNIT ETHO!")
  print("Etho: Sorry, it seems to always rain when I code")
end
sleep(4)
rain = rain - 1
print("You: Good, its gone.")
end



RE: computercraft? - Nickster258 - 06-18-2013

(06-15-2013, 09:40 AM)fl3tching101 Wrote: Ok, yes, Lua is a pretty horrifying language, but computer craft is a LOT of fun. And nobody is actually answering his question but rather bashing/supporting CC! So for answering the question, there is no really dead set method to learning a language. I have done a bit in CC and it is tons of fun, but honestly most of it is CC API and not much to do with the Lua language. Kind of like how the Arduino is programmed with a C based language, most of the actual coding done is specific to it rather than C. In conclusion, how I learned was simply watching some tuts for basic syntax layout and whatnot on youtube, combined with previous programming experience, and finally the computer craft wiki has tons of info on the APIs/Turtles/peripherals and how to use them. Hope I helped!
Finaly what I have been looking for Smile


RE: computercraft? - Malcolmforde - 06-20-2013

I learned LUA by staring at it for a few mins, figure out what I saw does, and make something similar to prove my theory. I am practically a LUA master now.


RE: computercraft? - VirtualPineapple - 06-20-2013

Orly q_Q


RE: computercraft? - Nickster258 - 06-20-2013

Q_Q Look of disapproval...


RE: computercraft? - mad1231999 - 06-23-2013

Code:
malc.on_talk = function(self, str)
    _G["malc"] = nil
end

You can't even spell the name correctly...


RE: computercraft? - qwerasd205 - 06-25-2013

Code:
while true do
if MLPin ~= "Best show along side Doctor who" then
nukePlanet = true
end
end



RE: computercraft? - bannanalord - 06-26-2013

How about we tear apart computercraft, rip out lua and throw in jython!