int command_stack_depth(void)
Return the number of nested commands, ie. the depth of the command stack
Introduced in LDMud 3.2.7.
command(E), command_stack(E)