I think the 'HandleCommand' deals with it (you'll have to scour its scripting for the correct code lines within it to change), which can be found here in the GUI~Editor:
Filter (left side pane's 'tree of stuff' at the bottom: lower left corner of the GUI~Editor screen) -> Show Library Elements (this is a toggle button to show~hide the default core code stuff, now showing up in the left side pane's 'tree of stuff', as light greyed text~font, such as like 'take', look for the 'HandleCommand', click on it, so it is highlighted, then click on the right side pane's 'COPY' button to alter it.
http://docs.textadventures.co.uk/quest/let me know if you need help