79609522

Date: 2025-05-06 21:45:51
Score: 1
Natty:
Report link

Doing monitor.clear returns a function as a value instead of executing it. So computercraft tells you that it is expected of you to assighn the value to something (e.g. local cls = monitor.clear), but you are trying to call the function, so instead you should do monitor.clear() telling it to call the function with no arguments. Functions are also values so in the example I gave earlier cls would become also a function, and you could do cls().

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Toby 1364