You can save the random determined result it a story variable...
(set: $result to "run")
(if: (random: 1, 10) <= 7)[(set: $result to "walk")]
... which you can then print to the screen later on using either of the following methods.
(print: $result) (using a macro)
or $result (using a naked variable)