
Hi gang,
I'm just getting started with roll20 scripting and am trying to call tokenmod via sendChat. A simple test I'm trying is..
sendChat("Somebody", "!token-mod --help");
... which should just display the help text in the chat output pane.
What I get in the console when that function executes is..
{"who":"error","type":"error","content":"Unable to find a player or character with name: API"}
Can any kind soul point me in the right direction?
Thanks!
Dan