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

How is Selected determined?

Hi, I'm sorry, I'm new to Roll20. I'm trying to create a macro. I have @{selected| ...}, but whenever I use it I get the error "No character was found for selected" even when I have clicked on a character. I guess clicking on a character doesn't select it ... so how do I select a character? Confused ... Thanks in advance,
1593880257

Edited 1593880313
Ziechael
Forum Champion
Sheet Author
API Scripter
Selected works based on a token that is currently selected. If the macro refers to attributes beyond the normal token values (bar 1 etc) then that token also needs to be representing a journal entry. Check out this wiki entry for more details on linking tokens to journals.
Yep, that was the problem; the token not formally linked to the journal. Thank you!