Posted 26 February 2012 - 02:56 PM
Hi!
I wanted my computer tells my when the redstone is turned on, or not. So I typed this code:
;)/>/>
Bennievv
I wanted my computer tells my when the redstone is turned on, or not. So I typed this code:
if redstone.input("front") == true then
print("Yeah!")
elseif redstone.input("front") == false then
print("No...")
end
And when I run it I get the error:
file:1: attempt to call nil
This means that "redstone.input()" don't exist… What is the correct function?;)/>/>
Bennievv