Well, one thing you could do if you go with the IDE approach is something like PKSV's movement helper.
Or, you could do a list of movement "functions" like this:
def movements():
walk_left(3)
walk_down(2)
...
end()
That could be a way to do it.
Worst case, you set it up like the messages, but make it a bytearray or something until you can get a better method set up.