Posted 12 January 2014 - 04:24 PM
Hello, I'm very new to Lua and this is my first time trying to use monitors. I'm trying to print simple text onto a monitor on the server I own (hosted by Akliz if that info is necessary), and I get an error: "startup:3: attempt to index (a nil value). But I don't get this problem on single player, my text prints fine with the same code there.
my code:
Why am I getting this error, how can I fix it, and why is this only happening over multiplayer?
Thanks!
my code:
monitor = peripheral.wrap("right")
m.setTextScale(1)
m.write("Test")
Why am I getting this error, how can I fix it, and why is this only happening over multiplayer?
Thanks!