Difference between revisions of "Using"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
(New page.)
 
imported>Heeheehee
m
Line 4: Line 4:
  
 
===namespace===
 
===namespace===
Contains a list of all user-created functions available for use as CLI commands. Note that KoLmafia is ''always'' "using" ASH, and so all ASH commands are available in this format (e.g. "<nowiki>> print_html <font color="red">hello</font></nowiki>" will print <font color="red">hello</font> to the CLI, then return void.
+
Contains a list of all user-created functions available for use as CLI commands. Note that KoLmafia is ''always'' "using" ASH, and so all ASH commands are available in this format. For instance, "<nowiki>> print_html <font color="red">hello</font></nowiki>" will print <font color="red">hello</font> to the CLI, then return void.
  
 
[[Category:CLI Commands]]
 
[[Category:CLI Commands]]

Revision as of 03:11, 25 June 2010

using

Adds the following script's functions to the namespace. In other words, it makes the script's functions available as CLI commands.

namespace

Contains a list of all user-created functions available for use as CLI commands. Note that KoLmafia is always "using" ASH, and so all ASH commands are available in this format. For instance, "> print_html <font color="red">hello</font>" will print hello to the CLI, then return void.