Posted 09 July 2015 - 12:03 AM
Hello everyone , i was tring to make a program with sensor and chatbox but i have the java exception thrown.
what does it mean?
Here is the program
Sorry for my bad english
what does it mean?
Here is the program
sensor = peripheral.wrap("top")
s = peripheral.wrap("right")
while true do
for _, name in pairs(sensor.getPlayerByName()) do
if name =="Myribox" then
s.speak("Hello..name..")
else
s.speak("Out of here")
end
sleep(0)
end
end
Sorry for my bad english