MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
1.59k stars 430 forks source link

Beep #3045

Closed T0biasCZe closed 5 years ago

T0biasCZe commented 5 years ago

Hello. When i write computer.beep(), etc... it says file not found =/ obrazek

LizzyTrickster commented 5 years ago

That's because computer.beep() is a function provided by the computer component, not a program that you can run in the shell.

try writing computer.beep() to a file then running that or execute it from the lua prompt

payonel commented 5 years ago

as lizzy said, youre in the shell prompt where you issue bash-like commands (openos is linux inspired) computer.beep is an api, you use that in lua script or the lua repl