The unresolvedcommandhandler attribute and params

Richard Headkid
21 May 2018, 18:51

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.


Thank you!!!


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