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

Macro to return token_name of the current token's turn

So, I'm wanting to make a macro that gives me a token's token_name for whatever token is listed as the "current turn" on the turn tracker. As an example of what I am using it: There are three tokens in the turn tracker - Bob at 10, Tom at 5, and Jack at 1. At each person's turn, I want to hit a macro that rolls 1d6 for that character and whispers me, as the GM, the result and who it was that rolled it. So the first turn arrives, and I push the macro, I'm wanting to get something along the lines of "Bob is currently active with a roll of 4!" I can achieve the roll part, but I have no clue how to grab the current turn's name from the tracker. What I have thus far is "/w gm @{ Something Needs To Go Here |token_name} is currently active with a roll of [[1d6]]!" Is there any way to do this without needing to select a token or click on a token, only use a macro?
1404973083
Lithl
Pro
Sheet Author
API Scripter
This is not possible without the API