Help API
|
|||||||||||
Returns a list of topic endings that match the prefix. Can be used with read to allow input of a help topic. | |||||||||||
Syntax | help.completeTopic(
|
||||||||||
Returns | table | ||||||||||
Part of | CC:Tweaked | ||||||||||
API | Help | ||||||||||
|
|
|||||||||
Returns the location of the help file for the given topic. | |||||||||
Syntax | help.lookup(
|
||||||||
Returns | string | ||||||||
Part of | CC:Tweaked | ||||||||
API | Help | ||||||||
|
|
|||||||||||
Returns a colon-separated list of directories where help files are searched for. All directories are absolute. | |||||||||||
Syntax | help.path() | ||||||||||
Returns | string | ||||||||||
Part of | CC:Tweaked | ||||||||||
API | Help | ||||||||||
|
|
|||||||||||
Sets the colon-seperated list of directories where help files are searched for to newPath | |||||||||||
Syntax | help.setPath(
|
||||||||||
Returns | nil | ||||||||||
Part of | CC:Tweaked | ||||||||||
API | Help | ||||||||||
|
|
|||||||||
Returns a list of topics that can be looked up and/or displayed. | |||||||||
Syntax | help.topics() | ||||||||
Returns | table | ||||||||
Part of | CC:Tweaked | ||||||||
API | Help | ||||||||
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.