The unresolvedcommandhandler attribute and params

Richard Headkid
21 May 2018, 18:51From 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.
mrangel
21 May 2018, 20:13The elements of the dictionary become local variables. In this case, a single variable command
.

K.V.
21 May 2018, 22:12Thank you!!!
I think I tried everything BUT command
. (I even tried DictionaryItem(params, "command")
!!!)