I am starting my own email programs for a server with friends and have started by giving them an easy way to change what side the modem is attached to (the don't know Lua).
I started with this: http://pastebin.com/4gsvLThm (The pastebin link is better because the colour is correct)
The error I get is:
Quote
I've seen this error many a time before, but I just can't work out what's going wrong. It seems that 'h.readAll()' is returning nil, and I can't work out why. I've done this before and not had trouble, and tried using 'h.readLine()' too.
This is all correct according to the wiki, but maybe it's just that I'm out of practice in Lua.
(and yes I know it could be neater, but I just want to get it working for now!)
Thanks in advance,
Ross.












