2 posts
Posted 16 February 2013 - 02:57 AM
Title: How to copy/paste code?
I am very new to LUA and computercraft, and at this point in my world i do not have a chunk loader so everytime i log my turtles stop. How can i just paste the code back into them instead of re-writing it everytime?
8543 posts
Posted 16 February 2013 - 04:23 AM
You don't have to paste it back in or re-write it. Set labels on them and they won't lose their ID (and thereby their fuel level and all the files they contain). Use `label set computername`.
386 posts
Location
France
Posted 16 February 2013 - 05:21 AM
Don't know if lyqyd's answer solve your problem, but I think you should use edit, and then ctrl save so it won't disappear everytime you left your world :)/>
5 posts
Posted 16 February 2013 - 05:44 AM
i use pastebin :/
2 posts
Posted 16 February 2013 - 05:47 AM
How do you use pastebin?
5 posts
Posted 16 February 2013 - 06:10 AM
Well im sorry i dont personally use paste bin but i know my firend does im trying to learn and find out but he is not on :/
1054 posts
Posted 16 February 2013 - 06:15 AM
Lyqyd's advice is the advise you need. Run this in the shell and you won't lose your code anymore:
label set myTurtle
386 posts
Location
France
Posted 16 February 2013 - 06:51 AM
Lyqyd's advice is the advise you need. Run this in the shell and you won't lose your code anymore:
label set myTurtle
This work only if you destroy the turtle, but he never say that he destroy the turtle, only that he lose everything when the turtle shutdown, so I thougt it was that