Samuel Penn said: Actually, I've found the problem. If you specify --tokenid, but don't also specify --emote, then the PowerCard.emote.charAt(0) call on line 122 fails. Possibly the || in the outer if condition needs to be an &&? Weird. It shouldn't ever get to that point... the whole if statement should be ignored as soon as anything is not a true comparison.