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

Reading GM Notes off a a token?

I'm trying to find a macro or command in either TokenMod or in the API library that let me read quick GM notes off a a token. Something like this: (bold added for emphasis). @{target|token_name}** has **@{target|bar1} HP** and **@{target|bar2} AC** left. They have **@{target|bar3} speed.** they also have **@target|gmnotes}** I seem to recall seeing something like this somewhere, but can't recall it: Thank you 
1645370470
timmaugh
Pro
API Scripter
I can think of 2. I believe Reporter can do something similar for you, with a specific output (ie, looking like a Reporter output). I am not sure of the syntax for that option. The second option I can think of is Fetch. Fetch can read the gmnotes for you, and can insert it into a statement like what you want above (ie, a simple chat message or template message) with ZeroFrame, or just let it pass on to another script's command line on its own. Fetch command syntax looks a lot lot standard Roll20 syntax: @(selected.gmnotes) @(selected|gmnotes) @(Bob of the Tokensville Bagginses.gmnotes) The only trick, there, is that you can't trigger the Targeting mechanic with syntax that is "close" to the Target syntax, so you have to embed the targeting statement in the Fetch formation: @(@{target|token_id}.gmnotes)
I think what you are looking for is Supernotes, and you may want to do a search and find "Editnotes" also both scripts for me, are amazing.  They however have nothing to do with filling bars with info as that is a free to play user hack, api's don't need to utilize that.  
1645379608
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Supernotes is probably best for standalone gmnotes reading, since it will also return the style of the text, any images, links, and so forth. But if you want it in-line like that, it requires more API trickery, and Fetch is probably better. I have both installed in my campaign, because of this.
1645407250
timmaugh
Pro
API Scripter
Gach! I meant to say supernotes, not reporter!
I cheated and used CharSetAttr to get the same data I needed, essentially I wanted a script that read, did bio scans of targets. I set something up that did this: {{Scan=*@{target|token_name}* **Health:** @{target|bar1} **Karma:** @{target|bar2} **Fighting:** @{target|VFighting} **Agility:** @{target|VAgility} **Strength:** @{target|VStrength} **Endurance:** @{target|VEndurance} **Reason:** @{target|VReason} **Intuition:** @{target|VIntuition} **Psyche:** @{target|VPsyche} **Classification:**  @{target|Form} *Powers:* **@{target|VPowerName1}:** @{target|VPower1}  **@{target|VPowerName2}:** @{target|VPower2} **Protection:** @{target|bar3}}} --- and that did the trick