This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
meganukecreeper's profile picture

Help!

Started by meganukecreeper, 30 January 2015 - 08:06 PM
meganukecreeper #1
Posted 30 January 2015 - 09:06 PM
Well, i'm new on lua's syntax, and spetially craftOS. I'm making a mining program, and i want to make this:

Adv. computer linked to an adv. turtle (both with wireless modems) and type in the computer a number and make the turtle save it as a variable numeric value. Could i have some help plz??? ^_^/>
Cranium #2
Posted 30 January 2015 - 09:12 PM
Do you have any code to start with? People here are more inclined to help out if you've put forthe some effort before asking for help. Not a lot of people here are really willing to write a program from scratch for you.
HPWebcamAble #3
Posted 31 January 2015 - 12:36 AM
Advanced Turtle API: http://computercraft.info/wiki/Turtle_(API)
Modem API: http://computercraft.info/wiki/Modem_(API)

Try it :)/>
Dog #4
Posted 31 January 2015 - 12:53 AM
… type in the computer a number and make the turtle save it as a variable numeric value. …

You may also want to visit the wiki for information about variables, read, and tonumber.

EDIT: corrected a mistake
Edited on 17 February 2015 - 04:41 AM