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

Using token actions from chat with @{selected|NAME} not working

1431868365

Edited 1431868380
If i use @{selected|INI} like described here in the chat: <a href="https://wiki.roll20.net/Token_Actions" rel="nofollow">https://wiki.roll20.net/Token_Actions</a> it does say No attribute was found for @{selected|INI} altough the attribute exists and I can roll it from the charsheet as well as from the token action bar.
1431876392
The Aaron
Roll20 Production Team
API Scripter
INI is a character sheet button? When you've rolled it from the character sheet, can you push the up arrow in chat and see what the command looked like?
1431878098

Edited 1431878223
Yes. And it shows %{Vago|INI}. But when I select the token associated with vago and use @{selected|INI} it does only show No attribute was found for @{selected|INI} GM (GM): selected|INI Edit... ok, because it is %{Vago|INI} and not @{Vago|INI} it works with %{selected|INI}. I somehow assumed i have to use @ along with selected to work. Someone might want to add this to the wiki. When creating Token Actions, you can also use the @{selected} token variables along with token actions to great effect, creating macros for system-wide rolls (e.g. Bluff) that show up when a token is selected, and pull information from the selected token to perform the roll (3.).
1431878380
The Aaron
Roll20 Production Team
API Scripter
Wiki: <a href="https://wiki.roll20.net/Macros#Nesting_Macros" rel="nofollow">https://wiki.roll20.net/Macros#Nesting_Macros</a> It is covered in the macros section, but probably could be covered elsewhere, or at least referenced.
Oh...
1431897294
Lithl
Pro
Sheet Author
API Scripter
@ is used for attributes, while % is used for abilities (and # is used for macros). Roll buttons are abilities.