/deletefunction
In SandboX editing mode: deletes a function and every condition bound to it
In the game
Usage: /deletefunction <FunctionNumber>
Deletes one of your functions, and every call on it or to it.
Hold the walk key to see the SandboX Editing Chart. The shortcut for this command is: /removefunction
What it does
Deletes a function: /deletefunction [function number]. Editing mode only.
The game answers "\ You deleted function number n (CP) Checkpoint."* (dark red) with the game text FUNCTION DELETED... NUMBER n. Every call on it or to it goes too: "\ The calls on and to function number n were deleted too:"* and one line per call ("\ Call number c (function f calls function t)."*).
Destroy Function (DF) functions that point at the deleted ID are not changed.
Unknown number: "\ Sorry, function number n has not yet been created."*
Short form: /removefunction.
Wiki