Posted 07 February 2014 - 02:47 PM
this is my code the error said String Expected (2) ==
something like that but i dont know what it is annyone could help me ??
something like that but i dont know what it is annyone could help me ??
-- SR.OS Public Server Settings
Local Stefan = 722
Local Ramon = 627
Local restart = "Startup"
-- Waiting For Message --
While true do
id, msg, distance = rednet.receive()
-- When message Receive check if message is From stefan --
if id == "Stefan" then
rednet.send(Ramon, "Stefan: "..msg..".")
shell.run(restart)
elseif id == "Ramon" then
rednet.send(Stefan, "Ramon: "..msg..".")
shell.run(restart)
else
rednet.send(id, "Access denied Ask Owner For Access")
shell.run(restart)
end
end