This is already implemented(and has been for quite some time):
Click
, click
, click the "Profile Exec" tab, check "Execute a command each time a phrase is unrecognized" and select a command from the dropdown, click "OK", click "Apply" or "Done" to save.