A lot of Dialog games sort of do this, but the way it works under the hood is that the default “[something]” action pops up a list of hyperlinks, where TAKE is linked to the command TAKE THINGUMMY and so on. If you actually just type TAKE as a command after typing a noun, it’ll ask what you want to take.