395
edits
Philosopher (talk | contribs) m (→fgcommand()) |
Philosopher (talk | contribs) m (→addcommand():) |
||
Line 42: | Line 42: | ||
The profiling related fgcommands '''profiler-start''' and '''profiler-stop''' are documented at [[Built-in Profiler]]. | The profiling related fgcommands '''profiler-start''' and '''profiler-stop''' are documented at [[Built-in Profiler]]. | ||
=== <tt>addcommand()</tt> === | |||
Add a fgcommand which can be used like a regular fgcommand (global scope, etc.). First argument is the name, second is the function to run. Note that this fgcommand will always return true! | |||
=== <tt>print()</tt> === | === <tt>print()</tt> === |
edits