Not that I know of from lisp, but in ARX you can use undocumented functions
acedGetLastCommandLines
and
acedGetCommandPromptString
not sure if they are in .NET
in Python it would be
acedGetCommandPromptString(number of lines, bool ignore null)
def PyRxCmd_doit(CmdFlags = Ap.CmdFlags.TRANSPARENT):
try:
print(Ed.Core.getLastCommandLines(5,True))
except Exception as err:
traceback.print_exception(err)
Command: DOIT
['Command: DOIT', 'HIDE Regenerating model.', 'Command: HI']