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

Adding help for own program

Started by darkhenmore, 08 September 2012 - 01:14 PM
darkhenmore #1
Posted 08 September 2012 - 03:14 PM
Hi,
Is there a way that I can add custom entry's to the help program.
Lettuce #2
Posted 08 September 2012 - 03:17 PM
Ah! Good question. Yes you can. It's just like adding a program to all your computers/turtles, make a file with no extension: type your description, and put it in the "help" folder.
If I need to be more descriptive, tell me what confuses you.
darkhenmore #3
Posted 08 September 2012 - 03:22 PM
Thanks! just wondering, for curiosity's sake, is there a way to do it in game.
Lettuce #4
Posted 08 September 2012 - 03:28 PM
I don't think so. Just like one can't make a program to run on all computers without putting the file in the computer folder. You could type the file out in CC, and then put it in the help folder manually, but that's the extent of it.
darkhenmore #5
Posted 08 September 2012 - 03:29 PM
ok thanks for the help :D/>/>
digpoe #6
Posted 08 September 2012 - 05:53 PM
I tried making my own help thing - which is my usage script, basically, since my script needs arguments, what the program does, it checks if the input has any arguments, and if it doesn't it prints the usage. If it does, but too much, it prints the usage - and if it has the right ammouny of arguments, but the argument is NOT a number, then it prints the usage again.