ID:119032
 
Resolved
Macro commands starting with .key, like a user-defined .key_down verb, failed.
BYOND Version:489
Operating System:Windows XP Pro
Web Browser:Firefox 6.0.2
Applies to:Dream Seeker
Status: Resolved (490)

This issue has been resolved.
Descriptive Problem Summary:
Using the interface editor, create a macro on any key that calls the command ".key*", where * is any sequence of characters. Run the project, press the key that triggers the command, note that no error message is received (despite there being no verb named ".key*" being defined).

Change the macro definition so that it's ".ke*", try the same process. Note that you get an error message indicating that the command doesn't exist.

If the ".key*" command does exist, it won't be called by the macro.

Code Snippet (if applicable) to Reproduce Problem:
macro "macro"
        elem
                name = "A"
                command = ".key_A"
                is-disabled = false


Expected Results:
Either a compile-time error message indicating that commands of that form are reserved, or for the macro to work.

Actual Results:
Macro silently fails.

Does the problem occur:
Every time? Or how often? Every time.
In other games? N/A
In other user accounts? Untested
On other computers? Untested

When does the problem NOT occur?
Always occurs.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Untested.

Workarounds:
Name your command something else.