Ok, I've gotten this macro to work as a sort of generic "apply lighting" macro that works with any token: !?{flicker-on/off, torch, snuff|flicker-on} ?{Radius?|40} - ?{All Players see?|yes} --?{Angle?|360} This works, as long as I select a token before I run the macro. However, I wanted to try using as a targeted macro, so I did this: !?{flicker-on/off, torch, snuff|flicker-on} ?{Radius?|40} - ?{All Players see?|yes} @{target|Target1|token_id} --?{Angle?|360} and then I got this error, and my scripts were broken: /home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:1
orts,
require, module, __filename, __dirname) { function g(a){throw a;}var
j=v
^
TypeError: Cannot read property '1' of null
at evalmachine.<anonymous>:2512:59
at Array.filter (native)
at Function._.filter._.select
(/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:172:65)
at _.(anonymous function) [as filter]
(/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:1073:39)
at handleInput (evalmachine.<anonymous>:2511:26)
at eval ( I'm assuming I've got something wrong with the "target" syntax, but I don't know what.