Posted 29 June 2015 - 06:19 PM
Hey everybody!
Here my prob:
When I'm trying to write something in a file,nothing happen. I'm probably doing something bad but I don't know what is it.
Here is the code:
thanks for your help!
Ps:Give me some feedback on my spelling and writing. English is not my maternal language and I have some difficulties with it.
Here my prob:
When I'm trying to write something in a file,nothing happen. I'm probably doing something bad but I don't know what is it.
Here is the code:
local modem = peripheral.wrap("back")
modem.open(10)
event,side,frequency,replyFrequency, message, distance = os.pullEvent("modem_message")
fs.open("here","w").write(textutils.unserialise(message))
--message is a string value after being unserialise
thanks for your help!
Ps:Give me some feedback on my spelling and writing. English is not my maternal language and I have some difficulties with it.