The <<newinventory>> macro's documentation states you can pass multiple arguments to it, yet the macro throws an 'incorrect number of arguments' error if anything other than a single argument is passed.
eg. the macro's JavaScript contains the following check.
if (this.args.length !== 1) {
return this.error('incorrect number of arguments');
}
The
<<newinventory>>
macro's documentation states you can pass multiple arguments to it, yet the macro throws an 'incorrect number of arguments' error if anything other than a single argument is passed.eg. the macro's JavaScript contains the following check.