maptool
maptool copied to clipboard
[Feature]: setSpeech is missing tokenRef Parameter
Describe the Problem
Hi, there is no Parameter to Reference a Token for the setSpeech macro command. getSpeechNames & getSpeech have this Parameter.
The Solution you'd like
I would like to have this Parameter please.
Alternatives that you've considered.
Store selected token, switch to the desired token to setSpeech, reselect stored token. But this is an ugly way to handle.
Additional Context
No response
It would be nice if the function took both tokenRef and mapRef parameters... but you can do this for now:
[h, token(tokenRef): setSpeech(name, value)]