2,736
edits
Red Leader (talk | contribs) |
Red Leader (talk | contribs) (→removecommand(): Finish docing) |
||
| Line 1,961: | Line 1,961: | ||
|syntax = removecommand(cmd); | |syntax = removecommand(cmd); | ||
|source = {{flightgear file|src/Scripting/NasalSys.cxx|l=668|t=Source}} | |source = {{flightgear file|src/Scripting/NasalSys.cxx|l=668|t=Source}} | ||
|text = | |text = Removes the given fgcommand. Returns <code>'''nil'''</code>. | ||
{{caution|This will remove '''any''' [[fgcommands|fgcommand]], even those implemented in C++, so use with caution!}} | |||
{{caution | |||
|param1 = cmd | |param1 = cmd | ||
|param1text = String specifying the name of the command to remove. | |param1text = String specifying the name of the command to remove. | ||