Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

ANtoine

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by ANtoine

  1. I got the same error message I think the error is in the last line (.../,answer,...) because I tried it without knowing how to insert a variable into a program path.
  2. Hello guys, I tried the print fuction and it works perfectly but it's boring to type every times the command : print3d /usr/share/models/... So I wanted to edit a program so I can just write what I need to print (netherportal/pillar_mid/...) local term = require("term") print("what do you want to print?") answer = io.read() -- Here I write the thing I want to print netherportal/pillar_mid/... os.execute("print3d /usr/share/models/,answer,.3dm) -- And I d'like to call it in that line but how, i don't know apparently it doesn't work so if you can help me
  3. ANtoine

    Boot error

    Well ok thank you. Can you just tell me what I am supposed to write in shrc cause I don't know ^^ Just the name of my program like that : alias etc alias etc alias etc alias etc (name of my program) Is there any needed syntax to write it ?
  4. ANtoine

    Boot error

    Hello guys, I'm a new user of opencomputers and I met a problem : I edited a prgm : password : local term = require("term") function begin() print("hello customer") print("enter password") password = io.read() if password == "password" then else begin() end end begin() My program is correct, I can run it but I wanted to set it on the boot so the customer must know the password to use the computer. How can I do that ?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.