Unfortunately, I've ran into a little snag, specifically the lack of documentation regarding Script files and their syntax. All I can find is the small section located in the DM reference and the F1 help menu within Dream Maker. With that, I wrote this:
macro
NORTH return "MoveHandle \"NORTH\" \"D\""
SOUTH return "MoveHandle \"SOUTH\" \"D\""
This particular code works just fine; Assuming the MoveHandle() verb is programmed to echo the direction and the state of the key, it will trigger when you press the up and down arrow keys, and output the key appropriately. The issue I'm having is that I don't know how to trigger the released state. Poking around the macro section of the Interface file, I noticed that the released state is simply the key with +UP appended, so I tried the following code.
macro
NORTH return "MoveHandle \"NORTH\" \"D\""
SOUTH+UP return "MoveHandle \"NORTH\" \"U\""
SOUTH return "MoveHandle \"SOUTH\" \"D\""
SOUTH+UP return "MoveHandle \"SOUTH\" \"U\""
Unfortunately, I run into a syntax error; "macro.dms:3:error at '+': statement syntax error". It seems as though that's not the way to go, though I'm confused as to how to go about my method otherwise.
Is it possible to achieve what I'm attempting to accomplish here, or am I forced to use the clunky GUI based macro editing method from within the Interface file?
(From the Interface Reference.)