4 posts
Posted 17 May 2019 - 01:16 PM
I want to be able to run code on a newly placed command computer in survival mode. I can give myself any item with any id, basically /give command but without data tags. Maybe it is possible to /give a command computer with a certain computer id so that it has the same code as another computer with the same id?
102 posts
Location
Alone in the dark, looking at the pretty lights with dreams of things I can not have.
Posted 19 May 2019 - 11:43 AM
If you don't mind editing the save files each computer gets a folder with its ID in the save file on your PC. And each program you writ eon that computer gets a text file in that folder. So you just have to open one save file, copy the file and paste it into your new one. Or you could do what I do and write all your code outside of computercraft and paste it into a
resource pack so that all your code is available on each computer.
477 posts
Location
Germany
Posted 20 May 2019 - 07:31 PM
IIRC you can give yourself a computer with a certain damage value to have it have a specific ID, however I'm not sure if that is still possible and if that falls under data tags.(I know in older Versions of MC you could do /give <player> <id>:<damage>)