args = {...}
level = tonumber(args[1])
reactor = peripheral.wrap("back")
reactor.setAllControlRodLevels(level)
I was actually replicating a piece of code I had already written yesterday, since it was on a server and I wanted to test my system while the server was down. I am pretty sure this is exactly what I had written, but there is apparently a possibility I haven't written this right. I have already tested if the args table works correctly, which it does. I have also made sure that the back of the computer is adjacent to the computer port on the reactor. It's just the function: setAllControlRodLevels() that's not working for some reason. The error message is as follows:
>cr 90 cr:4: attempt to call nil












