
Hello, I've found an API to remove all abilities of selected token in this post: <a href="https://app.roll20.net/forum/post/4154959/request-remove-all-abilities-of-selected-token-s" rel="nofollow">https://app.roll20.net/forum/post/4154959/request-remove-all-abilities-of-selected-token-s</a> I need one capable of removing all the abilities from a selected token EXCEPT those marked as Token Action. Can you help me? Even one using "exception" will work. That's the original code: on('chat:message', function(msg) { if (msg.content !== '!removeall' || !msg.selected) return; _.each(msg.selected, function(sel) { var token = getObj(sel._type, sel._id), abilities = findObjs({ type: 'ability', characterid: token.get('represents') }); _.each(abilities, function(abil) { abil.remove(); }); }); });