Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Making a macro for casting Cure light wounds.

Hey all, im brand new at this macro thing, trying to right a macro for an emote for my dwarven cleric casting cure light wounds on a fellow party member, i would like the chat to say, ."Oskar casts cure light wounds on (party members name), the script i have written right now shows this.. (GM) casts Cure Light Wounds on -JQFUY7P4aY0K3BUqXux my script is this ; /em casts Cure Light Wounds on @{target|token_id} Conjuration (Healing); Level 1; Components: V, S,; Casting Time: 1 std action; Range: Touch ; Target: 1 living creature; Duration: Instantanious; Saving Throw: Will half ; Spell Resistance: Yes; Caster level check = [[1d20+@{casterlevel2}+@{spellpen}]] vs spell resistance. Concentration check = [[{1d20+@{concentration}}>?{DC=15+Spell Level or 10+Damage Received|16}]] success. /roll 1d8 +(target level) what am i doing wrong so that the targeted players name doesnt show up thanks all for the help
1403799564
The Aaron
Roll20 Production Team
API Scripter
You need: @{target|token_name} rather than token_id. That should fix things for you. Also, I think technically this would fall more in the Specific Use Questions forum. This forum is really more about the Javascript API. Happy to help regardless, of course, but you might get better answers out there.