SecureCmdOptionParse - only dynamic macros?

by Ragennaxx | 14/10/2007 20:22:10

Ragennaxx

SecureCmdOptionParse only seems to return action,unit for dynamic macros.

For example:

/cast [] Something returns "Something", nil

However:

/cast Something returns "/cast Something", nil

This doesn't really make sense to me. Should I use something else to determine the action from non-dynamic macros?

by Slouken | 15/10/2007 17:00:21

Slouken

This is not a bug, you're assumed to have pulled the options out of the command line first:
Usage: SecureCmdOptionParse("options")

This allows you more flexibility in the parsing process.

Blizzard Announcement Recent Blizzard Announcements

 



Loaded in 0.03079 seconds