Can someone please help me figure this out? I think it's an issue with the sendChat function but I don't know what is wrong with the way I put it in. brawling = function (tar){ var brawlingDamage = randomInteger(4), brawlingIsLethal = {type: 'boolean'}; if(combatRoll.isLethal){ sendChat("CombatRoll", {"/w "+ combatRoll.characterToken.controlledby.displayname+ " (?{Is Brawling Damage Lethal&#63|"+ "[yes](!cr --combatupdate brawlingIsLethal|true)"+ "[no](!cr --combatupdate brawlingIsLethal|false)"+ "})" } ); } else { brawlingIsLethal = false; }; if(brawlingisLethal){ lethalDamage = lethalDamage + brawlingDamage; } else { nonlethalDamage = nonlethalDamage + brawlingDamage; }; if(getAttrByName(tar.id, is_monster)){ sendChat('CombatRoll', {'/em '+characterToken.name+' and a '+tar.name+' started brawling!'+ ' '+tar.name+' suffered an additional '+brawlingDamage+' points of damage.'}); } else { sendChat('CombatRoll', {'/em '+characterToken.name+' and '+tar.name+' started brawling!'+ ' '+tar.name+' suffered an additional '+brawlingDamage+' points of damage.'}); }; },