The unresolvedcommandhandler attribute and params

From HandleSingleCommand:

if (HasScript(game, "unresolvedcommandhandler")) {
      params = NewDictionary()
      dictionary add (params, "command", command)
      do (game, "unresolvedcommandhandler", params)
    }

How do I access params from the script?

I even tried msg(params), and the script knows not of its existence.


The elements of the dictionary become local variables. In this case, a single variable command.


K.V.

Thank you!!!


I think I tried everything BUT command. (I even tried DictionaryItem(params, "command")!!!)


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums