It would be cool to make a special custom (conditional) task to activate the undo command.
It would probably require 'undo this turn and last turn' to be a possible action in the actions list, and that would be particularly powerful if you could chain other actions before and after it. |