Sure thing. Here's the snippet I wrote to make sure I wasn't just doing something funny in the complicated companion script: SetDefaultTokenTest.js
on('chat:message',(msg)=>{
var graphic = getObj('graphic',msg.content.split(/\s+/)[0]),
character = getObj('character',msg.content.split(/\s+/)[1]);
setDefaultTokenForCharacter(character,graphic);
});
on('change:character',(obj,prev)=>{
log('OBJ: '+JSON.stringify(obj));
log('PREV: '+JSON.stringify(prev));
});
Command Message: @{target|token_id} @{CHARNAME|character_id}