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

Need help with simple code

Started by pwajnkaim, 14 August 2012 - 08:51 AM
pwajnkaim #1
Posted 14 August 2012 - 10:51 AM
I'm really new to coding and I made this very small piece of code:

term.clear()
term.setCursorPos(1,1)
if rs.getBundledInput("right", colors.green) then
mon.write("1")
end
but when I run it it tells me I there's a nil value on line 4.

EDIT: omg sorry, just found my mistake, sorry Im really new.
ardera #2
Posted 14 August 2012 - 11:03 AM
No Problem :P/>/>