Posted 24 May 2014 - 02:30 PM
Hello! My name is OracleVM (VistaWiz on Minecraft) and it appears I'm having a bit of an issue. After following slightly off two programs, I am creating a "SEND" program, which allows you to send Rednet messages with ease, and as I try to start the program, I get the dreaded rednet:87:. Here is the code to my program: (Sorry if I don't know how to put the code in an organized box, I am new to the forms ;)/>)
local modemside = "right"
local receiverId, message = rednet.send()
——————————————————-
term.clear()
term.setCursorPos(1,1)
print("P2P CHAT 3.1")
pint("Type quit to stop")
while do true
wit("Enter ID: ")
id= io.read()
if id= "quit" then
break
else
write("Enter Messeage: ")
message = io.read()
if message = "quit" then
break
else
rednet.send(id, message)
end
end
end
Is there something missing, or is the code incorrect? Reply back ASAP. Thank you.
local modemside = "right"
local receiverId, message = rednet.send()
——————————————————-
term.clear()
term.setCursorPos(1,1)
print("P2P CHAT 3.1")
pint("Type quit to stop")
while do true
wit("Enter ID: ")
id= io.read()
if id= "quit" then
break
else
write("Enter Messeage: ")
message = io.read()
if message = "quit" then
break
else
rednet.send(id, message)
end
end
end
Is there something missing, or is the code incorrect? Reply back ASAP. Thank you.