Posted 07 June 2012 - 12:36 AM
Ok It's me with this problem:
I want to set up a news server which sends Messages to the clients, which should be shown on the screen.
It's running quite well, but after some seconds on the screen there is always '%getNews%..news'
Here is the clients code:
Any ideas how to prevent it from being shown?
I want to set up a news server which sends Messages to the clients, which should be shown on the screen.
It's running quite well, but after some seconds on the screen there is always '%getNews%..news'
Here is the clients code:
term.clear()
term.setCursorPos(1,1)
rednet.open("top")
print("Reader is only waiting for updates")
sleep(1.5)
term.clear()
term.setCursorPos(1,1)
while true do
event, param1, param2 = os.pullEvent("rednet_message")
if param2 == "exit" then
break
end
print(param2)
sleep(1.5)
end
Any ideas how to prevent it from being shown?