CC: Tweaked

CC: Tweaked

65M Downloads

Add a "run" option to the /computercraft command

xYuan20d opened this issue ยท 3 comments

commented

Currently, the /computercraft command seems to be missing an option to run commands on an already running computer. My idea is:

/computercraft run

I am aware of the /computercraft view command, but I need to use it within a command block

commented

/computercraft run

There is /computercraft queue

I am aware of the /computercraft view command, but I need to use it within a command block

Use command computer instead.

commented

Would you be able to explain what you're planning to use this for? This is a feature which is technically possible, but would require some major changes to CC:T's internals, so I'd like to have a better idea of the use-cases and whether there's alternatives, before looking at this.

commented

Would you be able to explain what you're planning to use this for? This is a feature which is technically possible, but would require some major changes to CC:T's internals, so I'd like to have a better idea of the use-cases and whether there's alternatives, before looking at this.

In fact, when exiting the game and reopening the save file, the computer will show the state of the script that was running before shutdown/exit. Therefore, I need a command to run the script directly (using a command block). However, theoretically, this requirement could be achieved by utilizing the startup process, so this suggestion is optional.