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

[Script] Marking Conditions - Use with custom markers

1580748923

Edited 1580748937
Phillip G.
Sheet Author
So, I am getting on board with the custom marker train. Very important with PF2 and all the conditions to track. I have a macro that I created to help apply the correct marker for the condition using a dropdown menu. The macro makes use of the Marking Condition API. I have been successful in getting the macro to apply the markers with !mark command, but the !unmark command is not removing them. !clearmark command works just fine. I will note that the !unmark command continues to function for the default markers, it is just not finding the custom markers though I am using the same arguments as the !mark command. If you think you can help and would like some more info, let me know.
1580784721
The Aaron
Roll20 Production Team
API Scripter
Can I recommend TokenMod?  It works with Custom Token Markers. I don't think Marking Conditions is intended for more than an example for script developers, so it's probably not going to get any bug fixes, and TokenMod is more feature-rich. 
1580785023
The Aaron
Roll20 Production Team
API Scripter
Here's the update notes for Custom Token Markers in TokenMod:&nbsp; <a href="https://app.roll20.net/forum/permalink/7987414/" rel="nofollow">https://app.roll20.net/forum/permalink/7987414/</a>
I think I tried your TokenMod script and was unable to get it to work with a quick use macro. Maybe I'll take another look at it.
1580787985
The Aaron
Roll20 Production Team
API Scripter
Let me know if you run into problems and I'll help you fix them! =D
So what is the snytax to set a marker?
Starting to get it figured out.
1580789356

Edited 1580789393
Phillip G.
Sheet Author
Is it possible to use a query within --set statusmarkers Guessing not because of the way it uses the ?
1580789811
The Aaron
Roll20 Production Team
API Scripter
You can: !token-mod --set statusmarkers|?{status|Bloody,red|Cold,blue} Or if you want to embed more, you can use # instead of | like this: !token-mod ?{thing|one,--set statusmarkers#blue|flip,--on fliph}
1580789963

Edited 1580790081
The Aaron
Roll20 Production Team
API Scripter
The ?{ } syntax is substituted in the client before the api gets the message, so this would work: !token-mod --set statusmarkers|??{adjustment|Less,blue:-1|More,blue:+1} Which would expand to something like: !token-mod --set statusmarkers|?blue:-1
I don't think I am explaining what I want to do clearly. What I am trying to achieve is to have a single macro that I can click and then it will provide me with a list of conditions I can choose from, once chosen a status marker is applied to the token representing the condition. Will the double ? give me the query menu?
I think I have something that is working. I'll post back when I am done or if I have any further questions, but I'll post in the official AP Script thread.
1580808795
Kraynic
Pro
Sheet Author
Instead of a query, I have a chat menu set up for TokenMod commands.&nbsp; Conditions, sight, and vision are all there to choose from without mucking around with drop down selection.&nbsp; If you prefer selects, then I guess that is the way to go for you though.
Chat menu? Is that to say you click on a button and then a list appears in the chat area? I can't even begin to imagine how full your chat log gets doing that. I think the drop down is the way to go, but I'm very interested in how to do a chat menu. Could you explain how it is coded, i don't even know where to begin.
1580827624

Edited 1580827718
Kraynic
Pro
Sheet Author
Chat menus are in the Stupid Tricks thread.&nbsp;&nbsp; <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a> You can have chat menu buttons call other chat menus if you have too large of a set of options.
1580843578
GiGs
Pro
Sheet Author
API Scripter
You also typically whisper the chat menu to yourself, so it doesnt clutter the chat log for everyone else.
So after a quick look at the chat menus thing, I would just have to write a whole lot of smaller macros to do the job of my one big macro and it would have to squeeze into the chat. If you want to see what I created, you can take a look at it on this thread:&nbsp; <a href="https://app.roll20.net/forum/post/4225825/script-update-tokenmod-an-interface-to-adjusting-properties-of-a-token-from-a-macro-or-the-chat-area/?pageforid=8102335#post-8102335" rel="nofollow">https://app.roll20.net/forum/post/4225825/script-update-tokenmod-an-interface-to-adjusting-properties-of-a-token-from-a-macro-or-the-chat-area/?pageforid=8102335#post-8102335</a>
1580852053
Kraynic
Pro
Sheet Author
Yeah, I saw that.&nbsp; I like my way because it is more modular between game systems.&nbsp; I keep the individual macros all on a "macro mule" character sheet, and then write a global macro for the menu which calls on all the individual api calls I want/need for that specific game or game system.&nbsp; The only thing I ever need to edit is the global.&nbsp; I also just don't like large drop downs and needing to scroll for things (just a personal hangup). If you plan to be just playing one game system for some time and that big macro suits you, that is great!
1580853695

Edited 1580853741
GiGs
Pro
Sheet Author
API Scripter
The chat macro is also simple to maintain and expand, if for instance you ever decide to add some extra custom markers. Plus, you dont have to click the dropdown menus to select multiple options over and over, you just click to see a list of buttons, then click again to do the one you want - and if you plan to set multiple markers at once, it's a lot quicker. You can combine them too: you can have a short chat menu, with each button launching a single dropdown that doesnt need any html replacements.
Certainly something to look into in the future.
I can't seem to make the chat menu work with PF2 official sheet. I can get the macro to send a menu to chat, but the buttons there do not work. This seems way more complicated than what you guys are telling me. Here is what I am using so far. Menu macro: w gm &amp;{template:default} {{**Secret Check**}} {{ [**Perception**](~Perception) **Decipher Writing** [Arcana](~Decipher-Writing-A) [Occult](~Decipher-Writing-O) [Religion](~Decipher-Writing-R) [Society](~Decipher-Writing-S) }} With the following macros on the same sheet: Perception /w gm %{selected|perception} Decipher-Writing-A /w gm %{selected|arcana} /w gm **Critical Success** You understand the true meaning of the text. /w gm **Success** You understand the true meaning of the text. If it was a coded document, you know the general meaning but might not have a word-for-word translation. /w gm **Critical Failure** You believe you understand the text on that page, but you have in fact misconstrued its message. The other decipher writing follow the same format, but have a different skill call. Anyway, when I click on the link button in the chat I get a " TypeError: Cannot read property 'substring' of undefined" response and checking the previously entered text shows that&nbsp;%{Decipher-Writing-A} or similar was entered.
1580940907
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
is "perception" a built-in sheet ability? I don't get anything from&nbsp; %{selected|perception} used on a generic character.
1580941349

Edited 1580941672
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
One quick observation. There is a built-in "perception" ability: %{selected|PERCEPTION} by creating a custom ability with the same name, you are getting faulty results. You should eliminate your Perception custom Ability (macro) and let the built-in one do its job. Your second line should be re-written: [**Perception**](~selected|Perception) in order to run on any selected token.
1580941523
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
As written, I am getting expected results from the&nbsp;[Arcana](~Decipher-Writing-A) ability button when called from the menu macro:
1580942055

Edited 1580942482
Phillip G.
Sheet Author
I was having issues with the built in macro as well. And never got anything to run from the menu button. I'll do some reloads and try again. Update - Perception works ok now, but am still unable to pull the expected results from the chat menu for the decipher checks.
1580942856
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Just checking: you have not created a custom ability called "arcana"?
Correct. The problem seems to be that the link is not pulling the ability from the sheet's abilities, but will pull it from the character portion.
There seems to be something off about my campaign, tokens have macro buttons that have not been turned on. I'm going to create a new campaign and test out what we have looked at.
1580943554
GiGs
Pro
Sheet Author
API Scripter
Try adding selected| to each of the ability calls as keith did with perception. When you create a chat menu, the macro calls within it aren't automatically linked to a specific character, so you need to either supply a name (and can use selected or target to substitute for names) Also as a stylistic point, you should put name= at the first template section, to give a proper itlebar. Maybe something like /w gm &amp;{template:default} {{name=**Secret Check**}} {{[**Perception**](~Perception)}} {{**Decipher Writing** [Arcana](~Decipher-Writing-A) [Occult](~Decipher-Writing-O) [Religion](~Decipher-Writing-R) [Society](~Decipher-Writing-S) }} or, if you want to take up less space /w gm &amp;{template:default} {{name=**Secret Check**}} {{General=[**Perception**](~Perception)}} {{**Decipher Writing**=[Arcana](~Decipher-Writing-A) [Occult](~Decipher-Writing-O) [Religion](~Decipher-Writing-R) [Society](~Decipher-Writing-S) }} Or even /w gm &amp;{template:default} {{name=**Secret Check**}} {{General=**Decipher Writing**}}{{[**Perception**](~Perception)=[Arcana](~Decipher-Writing-A) [Occult](~Decipher-Writing-O) [Religion](~Decipher-Writing-R) [Society](~Decipher-Writing-S) }} The last two look like&nbsp; Using the naming method of rolltemplates {{something=something}} allows you organise chat menus pretty niceless, and they fill the available space so not using linebreaks is recommended.
Hmm, still not working. the (~macro name) is suppose to link to a macro in the abilities section of a character sheet, correct? If you want I can invite to my campaign and see if we can recreate what I am talking about.
1580943708
GiGs
Pro
Sheet Author
API Scripter
I have a little time, go ahead and add me, then when i join, make me a GM
GiGs, when I add selected, I just get a no ability was found error. Though I do like the organization tip. Forgot that default had the name argument.
1580944476
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
"selected" should only be added to a sheet ability call, unless you want to add a custom ability of that name to every character. If you goal is a token macro that will run on every selected token, it needs to be built on the collections tab as a macro, and have the "token ability" checkbox toggled. The entry on Chat Menus contains the syntax for how to call abilities and macros depending on where they are stored.
GiGs and I were able to figure some stuff out. There is a weird bug in there somewhere, but I think we worked around it. Also since I was trying to call macros from global we had to change the operator. Once we got through that it wasn't bad at all.
1581488125

Edited 1581488967
Hi there... I build some macros for PF2, maybe some of them help you: Code:!token-mod --set ?{Condition|Blinded,statusmarkers#!blinded|Clumsy,statusmarkers#!clumsy|Confused,statusmarkers#!confused|Controlled,statusmarkers#!controlled|Dazzled,statusmarkers#!dazzled|Deafened,statusmarkers#!deafened|Doomed,statusmarkers#!doomed|Drained,statusmarkers#!drained|Dying,statusmarkers#!dying|Enfeebled,statusmarkers#!enfeebled|Fascinated,statusmarkers#!fascinated|Fatigued,statusmarkers#!fatigued|Flat-Footed,statusmarkers#!flat-footed|Fleeing,statusmarkers#!fleeing|Frightened,statusmarkers#!frightened|Grabbed,statusmarkers#!grabbed|Hidden,statusmarkers#!hidden|Immobilized,statusmarkers#!immobilized|Invisible,statusmarkers#!invisible|Paralyzed,statusmarkers#!paralyzed|Persistent Damage,statusmarkers#+persistentdamage:5} It's not quite finished ye, as I still have to apply a querry for values (e.g. how many rounds, or the amount of damage on persistent damage), but so far it works with custom markers. For skills I got this one: Code:@{selected|whispertype}&amp;{template:rolls} {{charactername=}}{{header=Skill Check}}{{subheader=@{selected|token_name} uses:}} ?{Which skill do you want to use?|🤸🏽 Acrobatics,&amp;#123;&amp;#123;desc=🤸🏽 Acrobatics [[1d20+@{selected|ACROBATICS}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Acrobatics (Dex)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=Acrobatics measures your ability to perform tasks requiring coordination and grace. When you use the Escape basic action&amp;#44; you can use your Acrobatics modifier instead of your unarmed attack modifier.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Balance](<a href="https://2e.aonprd.com/Actions.aspx?ID=28" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=28</a> ) ▪️ [Tumble Through](<a href="https://2e.aonprd.com/Actions.aspx?ID=29" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=29</a>) ▪️ [Maneuver in Flight](<a href="https://2e.aonprd.com/Actions.aspx?ID=30" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=30</a>) ▪️ [Squeeze](<a href="https://2e.aonprd.com/Actions.aspx?ID=31)&amp;#125;&amp;#125;|🧙" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=31)&amp;#125;&amp;#125;|🧙</a> Arcana,&amp;#123;&amp;#123;info01=Arcana&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=Arcana measures how much you know about arcane magic and creatures. Even if you’re untrained&amp;#44; you can Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;desc=🧙 Arcana[[1d20+@{selected|ARCANA}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Arcana (Int)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=Arcana measures how much you know about arcane magic and creatures. Even if you’re untrained&amp;#44; you can Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Recall Knowledge](<a href="https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true</a>) ▪️ [Decipher Writing](<a href="https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true</a>) ▪️ [Identify Magic](<a href="https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true</a> ) ▪️ [Learn a Spell](<a href="https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true</a> ) ▪️ [Borrow an Arcane Spell (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=32" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=32</a> )&amp;#125;&amp;#125;|🏋🏽 Athletics,&amp;#123;&amp;#123;desc=🏋🏽 Athletics[[1d20+@{selected|ATHLETICS}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Athletics (Str)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=Athletics allows you to perform deeds of physical prowess. When you use the Escape basic action&amp;#44; you can use your Athletics modifier instead of your unarmed attack modifier.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Climb](<a href="https://2e.aonprd.com/Actions.aspx?ID=33" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=33</a> ) ▪️ [Force Open](<a href="https://2e.aonprd.com/Actions.aspx?ID=34" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=34</a> ) ▪️ [Grapple](<a href="https://2e.aonprd.com/Actions.aspx?ID=35" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=35</a> ) ▪️ [High Jump](<a href="https://2e.aonprd.com/Actions.aspx?ID=36" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=36</a> ) ▪️ [Long Jump](<a href="https://2e.aonprd.com/Actions.aspx?ID=37" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=37</a> ) ▪️ [Shove](<a href="https://2e.aonprd.com/Actions.aspx?ID=38" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=38</a> ) ▪️ [Swim](<a href="https://2e.aonprd.com/Actions.aspx?ID=39" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=39</a> ) ▪️ [Trip](<a href="https://2e.aonprd.com/Actions.aspx?ID=40" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=40</a> ) ▪️ [Disarm (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=41" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=41</a> )&amp;#125;&amp;#125;|🛠 Crafting,&amp;#123;&amp;#123;desc=🛠 Crafting[[1d20+@{selected|CRAFTING}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Crafting (Int)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You can use this skill to create&amp;#44; understand&amp;#44; and repair items. Even if you’re untrained&amp;#44; you can Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Repair](<a href="https://2e.aonprd.com/Actions.aspx?ID=42" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=42</a> ) ▪️ [Craft (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=43" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=43</a> ) ▪️ [Identify Alchemy (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=44" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=44</a> )&amp;#125;&amp;#125;|🗣 Deception,&amp;#123;&amp;#123;desc=🗣 Deception[[1d20+@{selected|DECEPTION}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Deception (Cha)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You can trick and mislead others using disguises&amp;#44; lies&amp;#44; and other forms of subterfuge. &amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Create a Diversion](<a href="https://2e.aonprd.com/Actions.aspx?ID=45" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=45</a> ) ▪️ [Impersonate](<a href="https://2e.aonprd.com/Actions.aspx?ID=46" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=46</a> ) ▪️ [Lie](<a href="https://2e.aonprd.com/Actions.aspx?ID=47" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=47</a> ) ▪️ [Feint (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=48" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=48</a> )&amp;#125;&amp;#125;|💗 Diplomacy,&amp;#123;&amp;#123;desc=💗 Diplomacy[[1d20+@{selected|DIPLOMACY}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Diplomacy (Cha)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You influence others through negotiation and flattery.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Gather Information](<a href="https://2e.aonprd.com/Actions.aspx?ID=49" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=49</a> ) ▪️ [Make an Impression](<a href="https://2e.aonprd.com/Actions.aspx?ID=50" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=50</a> ) ▪️ [Request](<a href="https://2e.aonprd.com/Actions.aspx?ID=51" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=51</a> )&amp;#125;&amp;#125;|🖕🏽 Intimidation,&amp;#123;&amp;#123;desc=🖕🏽 Intimidation[[1d20+@{selected|INTIMIDATION}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Intimidation (Cha)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You bend others to your will using threats.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Coerce](<a href="https://2e.aonprd.com/Actions.aspx?ID=52" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=52</a> ) ▪️ [Demoralize](<a href="https://2e.aonprd.com/Actions.aspx?ID=53" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=53</a> )&amp;#125;&amp;#125;|💉 Medicine,&amp;#123;&amp;#123;desc=💉 Medicine[[1d20+@{selected|MEDICINE}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Medicine (Wis)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You can patch up wounds and help people recover from diseases and poisons. Even if you’re untrained in Medicine&amp;#44; you can use it to Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Administer First Aid](<a href="https://2e.aonprd.com/Actions.aspx?ID=54" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=54</a> ) ▪️ [Treat Disease (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=55" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=55</a> ) ▪️ [Treat Poison (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=56" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=56</a> ) ▪️ [Treat Wounds (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=57" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=57</a> )&amp;#125;&amp;#125;|🌳 Nature,&amp;#123;&amp;#123;desc=🌳 Nature[[1d20+@{selected|NATURE}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Nature (Wis)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You know a great deal about the natural world&amp;#44; and you command and train animals and magical beasts. Even if you’re untrained in Nature&amp;#44; you can use it to Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Recall Knowledge](<a href="https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true</a> ) ▪️ [Command an Animal](<a href="https://2e.aonprd.com/Actions.aspx?ID=58" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=58</a> ) ▪️ [Identify Magic (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true</a> ) ▪️ [Learn a Spell (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true</a> )&amp;#125;&amp;#125;|🔮 Occultism,&amp;#123;&amp;#123;desc=🔮 Occultism[[1d20+@{selected|OCCULTISM}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Occultism (Int)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You know a great deal about ancient philosophies&amp;#44; esoteric lore&amp;#44; obscure mysticism&amp;#44; and supernatural creatures. Even if you’re untrained in Occultism&amp;#44; you can use it to Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Recall Knowledge](<a href="https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true</a> ) ▪️ [Decipher Writing (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true</a> ) ▪️ [Identify Magic (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true</a> ) ▪️ [Learn a Spell (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true</a> )&amp;#125;&amp;#125;|🤹🏼 Performance,&amp;#123;&amp;#123;desc=🤹🏼 Performance[[1d20+@{selected|PERFORMANCE}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Performance (Cha)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You are skilled at a form of performance&amp;#44; using your talents to impress a crowd or make a living.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Perform](<a href="https://2e.aonprd.com/Actions.aspx?ID=59" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=59</a> )&amp;#125;&amp;#125;|⛪️ Religion,&amp;#123;&amp;#123;desc=⛪️ Religion[[1d20+@{selected|RELIGION}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Religion (Wis)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=The secrets of deities&amp;#44; dogma&amp;#44; faith&amp;#44; and the realms of divine creatures both sublime and sinister are open to you. You also understand how magic works&amp;#44; though your training imparts a religious slant to that knowledge. Even if you’re untrained in Religion&amp;#44; you can use it to Recall Knowledge.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Recall Knowledge](<a href="https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true</a> ) ▪️ [Decipher Writing (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true</a> ) ▪️ [Identify Magic (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=3&amp;General=true</a> ) ▪️ [Learn a Spell (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=4&amp;General=true</a> )&amp;#125;&amp;#125;|🥂 Society,&amp;#123;&amp;#123;desc=🥂 Society[[1d20+@{selected|SOCIETY}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Society (Int)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You understand the people and systems that make civilization run&amp;#44; and you know the historical events that make societies what they are today. Further&amp;#44; you can use that knowledge to navigate the complex physical&amp;#44; societal&amp;#44; and economic workings of settlements. Even if you’re untrained in Society&amp;#44; you can use it for Recall Knowledge and Subsist.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Recall Knowledge](<a href="https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=5&amp;General=true</a> ) ▪️ [Subsist](<a href="https://2e.aonprd.com/Skills.aspx?ID=6&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=6&amp;General=true</a> ) ▪️ [Decipher Writing (Trained Only)](<a href="https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=1&amp;General=true</a> ) ▪️ [Create Forger (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=60" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=60</a> )&amp;#125;&amp;#125;|👥 Stealth,&amp;#123;&amp;#123;desc=👥 Stealth[[1d20+@{selected|STEALTH}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Stealth (Dex)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You are skilled at avoiding detection&amp;#44; allowing you to slip past foes&amp;#44; hide&amp;#44; or conceal an item. &amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Conceal an Object](<a href="https://2e.aonprd.com/Actions.aspx?ID=61" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=61</a> ) ▪️ [Hide](<a href="https://2e.aonprd.com/Actions.aspx?ID=62" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=62</a> ) ▪️ [Sneak](<a href="https://2e.aonprd.com/Actions.aspx?ID=63" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=63</a> )&amp;#125;&amp;#125;|🏕 Survival,&amp;#123;&amp;#123;desc=🏕 Survival[[1d20+@{selected|SURVIVAL}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Survival (Wis)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You are adept at living in the wilderness&amp;#44; foraging for food and building shelter&amp;#44; and with training you discover the secrets of tracking and hiding your trail. Even if you’re untrained&amp;#44; you can still use Survival to Subsist.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Subsist](<a href="https://2e.aonprd.com/Skills.aspx?ID=6&amp;General=true" rel="nofollow">https://2e.aonprd.com/Skills.aspx?ID=6&amp;General=true</a> ) ▪️ [Sense Direction](<a href="https://2e.aonprd.com/Actions.aspx?ID=64" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=64</a> ) ▪️ [Cover Tracks (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=65" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=65</a> ) ▪️ [Track (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=66" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=66</a> )&amp;#125;&amp;#125;|🗝 Thievery,&amp;#123;&amp;#123;desc=🗝 Thievery[[1d20+@{selected|THIEVERY}]]&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Thievery (Dex)&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=You are trained in a particular set of skills favored by thieves and miscreants.&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=can be used to&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Palm an Object](<a href="https://2e.aonprd.com/Actions.aspx?ID=67" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=67</a> ) ▪️ [Steal](<a href="https://2e.aonprd.com/Actions.aspx?ID=68" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=68</a> ) ▪️ [Disable Device (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=69" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=69</a> ) ▪️ [Pick a Lock (Trained Only)](<a href="https://2e.aonprd.com/Actions.aspx?ID=70" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=70</a> )&amp;#125;&amp;#125;} It's quite long, but it gives my players a drop down skill querry and puts in all relevant Information when used. Code: ?{What check would you like to roll?|✊🏾 Conceal an Object,/em : @{target|token_name} tries to ✊🏾 Conceal an Object /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Conceal an Object&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=MANIPULATE &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 251](<a href="https://2e.aonprd.com/Actions.aspx?ID=61)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=61)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**✊🏾 Conceal an Object ▶️** You hide a small object on your person or somewhere else. **@{target|token_name}** rolled a [[1d20+@{target|STEALTH} (1d20 + Stealth)]] vs. **DC 10 + Targets Perception Value** **Success** The object remains undetected. **Failure** The searcher finds the object.&amp;#125;&amp;#125;|🖋 Create Forgery,/em : @{target|token_name} tries to 🖋 Create a Forgery /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Create Forgery&amp;#125;&amp;#125;&amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=DOWNTIME &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 251](<a href="https://2e.aonprd.com/Actions.aspx?ID=60)&amp;#125;&amp;#125;&amp;#123;&amp;#123;desc=**🖋" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=60)&amp;#125;&amp;#125;&amp;#123;&amp;#123;desc=**🖋</a> Create Forgery** You create a forged document&amp;#44; usually over the course of a day or a week. You must have the proper writing material to create a forgery. When you Create a Forgery&amp;#44; the GM rolls a secret DC 20 Society check. If you succeed&amp;#44; the forgery is of good enough quality that passive observers can’t notice the fake. Only those who carefully examine the document and attempt a Perception or Society check against your Society DC can do so. If your check result was below 20&amp;#44; the forgery has some obvious signs of being a fake&amp;#44; so the GM compares your result to each passive observer’s Perception DC or Society DC&amp;#44; whichever is higher&amp;#44; using the success or failure results below. Once the GM rolls your check for a document&amp;#44; that same result is used against all passive observers’ DCs no matter how many creatures passively observe that document. An observer who was fooled on a passive glance can still choose to closely scrutinize the documents on the lookout for a forgery&amp;#44; using different techniques and analysis methods beyond the surface elements you successfully forged with your original check. In that case&amp;#44; the observer can attempt a Perception or Society check against your Society DC (if they succeed&amp;#44; they know your document is a forgery). **@{target|token_name}** rolled a [[1d20+@{target|SOCIETY}+?&amp;#123;Do you need a specific handwriting&amp;#124;no&amp;#44;4&amp;#124;yes&amp;#44;0&amp;#125; (1d20 + Society + cirumstance bonus)]] vs. **DC ?&amp;#123;Passive Observers or Examiners&amp;#124;passive Observers&amp;#44;20&amp;#124;Examiners&amp;#44;Perception or Society check&amp;#125;** **Success** The observer does not detect the forgery. **Failure** The observer knows your document is a forgery.&amp;#125;&amp;#125;|📓 Decipher Writing,/em : @{target|token_name} tries to 📓 Decipher a Writing /w gm &amp;&amp;#123;template:rolls&amp;#125; &amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125; &amp;#123;&amp;#123;header=Decipher Writing&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; EXPLORATION &amp;#124; SECRET&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02=[Core Rulebook pg. 234](<a href="https://2e.aonprd.com/Actions.aspx?ID=22" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=22</a> )&amp;#125;&amp;#125; &amp;#123;&amp;#123;desc=**📓 Decipher Writing** You attempt to decipher complicated writing or literature on an obscure topic. This usually takes 1 minute per page of text&amp;#44; but might take longer (typically an hour per page for decrypting ciphers or the like). The text must be in a language you can read&amp;#44; though the GM might allow you to attempt to decipher text written in an unfamiliar language using Society instead. **@{target|token_name}** rolled a [[1d20+?&amp;#123;What skill are you using?&amp;#124;🧙‍ Arcana&amp;#44;@{target|ARCANA} (1d20 + Arcana)&amp;#124;🔮 Occultism&amp;#44;@{target|OCCULTISM} (1d20 + Occultism)&amp;#124;⛪️ Religion&amp;#44;@{target|RELIGION} (1d20 + Religion)&amp;#124;🥂 Society&amp;#44;@{target|SOCIETY} (1d20 + Society)&amp;#125;]] vs a **DC [[?&amp;#123;What's the Level of the task?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the task or the monster&amp;#124;Incredibly easy (or Common)&amp;#44;-10&amp;#124;Very easy (or Common)&amp;#44;-5&amp;#124;Easy (or Common)&amp;#44;-2&amp;#124;Normal (or Common)&amp;#44;0&amp;#124;Hard (or Uncommon)&amp;#44;2&amp;#124;Very Hard (or Rare)&amp;#44;5&amp;#124;Incredibly Hard (or Unique)&amp;#44;10&amp;#125;]]** text. **Critical Success** You understand the true meaning of the text. **Success** You understand the true meaning of the text. If it was a coded document&amp;#44; you know the general meaning but might not have a word-for-word translation. **Failure** You can’t understand the text and take a –2 circumstance penalty to further checks to decipher it. **Critical Failure** You believe you understand the text on that page&amp;#44; but you have in fact misconstrued its message. &amp;#125;&amp;#125;|🏰 Gather Information,/em : @{target|token_name} tries to 🏰 Gather Information /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Gather Information&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 246](<a href="https://2e.aonprd.com/Actions.aspx?ID=49" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=49</a> )&amp;#125;&amp;#125; &amp;#123;&amp;#123;desc=**🏰 Gather Information** You canvass local markets&amp;#44; taverns&amp;#44; and gathering places in an attempt to learn about a specific individual or topic. The GM determines the DC of the check and the amount of time it takes (typically 2 hours&amp;#44; but sometimes more)&amp;#44; along with any benefit you might be able to gain by spending coin on bribes&amp;#44; drinks&amp;#44; or gifts. **@{target|token_name}** rolled a [[1d20+@{target|DIPLOMACY} (1d20 + Diplomacy)]] vs. **DC [[?&amp;#123;What's the Level of the task?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the task or the monster&amp;#124;Incredibly easy (or Common)&amp;#44;-10&amp;#124;Very easy (or Common)&amp;#44;-5&amp;#124;Easy (or Common)&amp;#44;-2&amp;#124;Normal (or Common)&amp;#44;0&amp;#124;Hard (or Uncommon)&amp;#44;2&amp;#124;Very Hard (or Rare)&amp;#44;5&amp;#124;Incredibly Hard (or Unique)&amp;#44;10&amp;#125;]]** **Success** You collect information about the individual or topic. The GM determines the specifics. **Critical Failure** You collect incorrect information about the individual or topic. &amp;#125;&amp;#125;|🕴 Hide,/em : @{target|token_name} tries to 🕴 Hide /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Hide&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 251](<a href="https://2e.aonprd.com/Actions.aspx?ID=62" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=62</a> )&amp;#125;&amp;#125; &amp;#123;&amp;#123;desc=**🕴 Hide ▶️** You huddle behind cover or greater cover or deeper into concealment to become hidden&amp;#44; rather than observed. **@{target|token_name}** rolled a [[1d20+@{target|STEALTH}+?&amp;#123;has @{target|token_name}:&amp;#124;no Cover&amp;#44;0 (no Cover)&amp;#124;Cover&amp;#44;2 (Cover)&amp;#124;Greater Cover&amp;#44;4 (Greater Cover)&amp;#125; (1d20 + Stealth + circumstance bonus)]] vs. **DC 10 + Targets Perception Value** **Success** If the creature could see you&amp;#44; you’re now hidden from it instead of observed. If you were hidden from or undetected by the creature&amp;#44; you retain that condition. &amp;#125;&amp;#125;|🧪 Identify Alchemy,/em : @{target|token_name} tries to 🧪 Identify Alchemy /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Identify Alchemy&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; EXPLORATION &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 245](<a href="https://2e.aonprd.com/Actions.aspx?ID=44)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=44)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**🧪 Identify Alchemy** **Requirements** You have [alchemist’s tools](<a href="https://2e.aonprd.com/Equipment.aspx?ID=2" rel="nofollow">https://2e.aonprd.com/Equipment.aspx?ID=2</a>). You can identify the nature of an alchemical item with 10 minutes of testing using alchemist’s tools. If your attempt is interrupted in any way&amp;#44; you must start over. **@{target|token_name}** rolled a [[1d20+@{target|CRAFTING} (1d20 + Crafting)]] vs. **DC [[?&amp;#123;What's the Level of the alchemical Item?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the alchemical Item&amp;#124;very Common&amp;#44;-10&amp;#124;rather Common&amp;#44;-5&amp;#124;Basic&amp;#44;-2&amp;#124;Normal or Common&amp;#44;0&amp;#124;Uncommon&amp;#44;2&amp;#124;Rare&amp;#44;5&amp;#124;Unique&amp;#44;10&amp;#125;]]** **Success** You identify the item and the means of activating it. **Failure** You fail to identify the item but can try again. **Critical Failure** You misidentify the item as another item of the GM’s choice. &amp;#125;&amp;#125;|👩🏽‍🎤 Impersonate,/em : @{target|token_name} tries to 👩🏽‍🎤 Impersonate /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Impersonate&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; EXPLORATION &amp;#124; MANIPULATE &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 245](<a href="https://2e.aonprd.com/Actions.aspx?ID=46)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=46)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**👩🏽‍🎤 Impersonate** You create a disguise to pass yourself off as someone or something you are not. Assembling a convincing disguise takes 10 minutes and requires a [disguise kit](<a href="https://2e.aonprd.com/Equipment.aspx?ID=19)&amp;#44" rel="nofollow">https://2e.aonprd.com/Equipment.aspx?ID=19)&amp;#44</a>; but a simpler&amp;#44; quicker disguise might do the job if you’re not trying to imitate a specific individual&amp;#44; at the GM’s discretion. In most cases&amp;#44; creatures have a chance to detect your deception only if they use the Seek action to attempt Perception checks against your Deception DC. If you attempt to directly interact with someone while disguised&amp;#44; the GM rolls a secret Deception check for you against that creature’s Perception DC instead. **@{target|token_name}** rolled a [[1d20+@{target|DECEPTION} (1d20 + Deception)]] vs. **DC ** of the creatures Perception + [[?&amp;#123;What's the Level of the Creature to impersonate?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the creature&amp;#124;very Common&amp;#44;-10&amp;#124;rather Common&amp;#44;-5&amp;#124;Basic&amp;#44;-2&amp;#124;Normal or Common&amp;#44;0&amp;#124;Uncommon&amp;#44;2&amp;#124;Rare&amp;#44;5&amp;#124;Unique&amp;#44;10&amp;#125;]] **Success** You trick the creature into thinking you’re the person you’re disguised as. You might have to attempt a new check if your behavior changes. **Failure** The creature can tell you’re not who you claim to be. **Critical Failure** The creature can tell you’re not who you claim to be&amp;#44; and it recognizes you if it would know you without a disguise. &amp;#125;&amp;#125;|🤷🏻‍ Lie,/em : @{target|token_name} tries to 🤷🏻‍ Lie /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Lie&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=AUDITORY &amp;#124; CONCENTRATE &amp;#124; LINGUISTIC &amp;#124; MENTAL &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 246](<a href="https://2e.aonprd.com/Actions.aspx?ID=47)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=47)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**🤷🏻‍ Lie** You try to fool someone with an untruth. Doing so takes at least 1 round&amp;#44; or longer if the lie is elaborate. You roll a single Deception check and compare it against the Perception DC of every creature you are trying to fool. **@{target|token_name}** rolled a [[1d20+@{target|DECEPTION}+?&amp;#123;has @{target|token_name} a circumstance bonus?&amp;#125; (1d20 + Deception + circumstance bonus)]] vs. **DC 10 + targets Perception value** **Success** The target believes your lie. **Failure** The target doesn’t believe your lie and gains a +4 circumstance bonus against your attempts to Lie for the duration of your conversation. The target is also more likely to be suspicious of you in the future. &amp;#125;&amp;#125;|📚 Recall Knowledge,/em : @{target|token_name} tries to 📚 Recall Knowledge /w gm &amp;&amp;#123;template:rolls&amp;#125; &amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125; &amp;#123;&amp;#123;header=Recall Knowledge&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; SECRET&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02=[Core Rulebook pg. 239](<a href="https://2e.aonprd.com/Actions.aspx?ID=26" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=26</a> )&amp;#125;&amp;#125; &amp;#123;&amp;#123;desc=**📚 Recall Knowledge ▶️** To remember useful information on a topic&amp;#44; you can attempt to Recall Knowledge. You might know basic information about something without needing to attempt a check&amp;#44; but Recall Knowledge requires you to stop and think for a moment so you can recollect more specific facts and apply them. **@{target|token_name}** rolled a [[1d20+?&amp;#123;What skill is needed?&amp;#124;🧙 Arcana (Arcane theories ▪️ macical traditions ▪️ creatures of arcane significance ▪️ arcane planes))&amp;#44;@{target|ARCANA} (1d20 + Arcana)&amp;#124;🛠 Crafting (Alchemical reactions and creatures ▪️ item value ▪️ engineering ▪️ unusual materials ▪️ constructs)&amp;#44;@{target|CRAFTING} (1d20 + Crafting)&amp;#124;💉 Medicine (Diseases ▪️ poisons ▪️ wounds ▪️ forensics)&amp;#44;@{target|MEDICINE} (1d20 + Medicine)&amp;#124;🌳 Nature (The environment ▪️ flora ▪️ geography ▪️ weather ▪️ creatures of natural origin ▪️ natural planes)&amp;#44;@{target|NATURE} (1d20 + Nature)&amp;#124;🔮 Occultism (Ancient mysteries ▪️ obscure philosophy ▪️ creature of occult significance ▪️ esoteric planes)&amp;#44;@{target|OCCULTISM} (1d20 + Occultism)&amp;#124;⛪️ Religion (Divine agents ▪️ divine planes ▪️ theology ▪️ obscure myths ▪️ creatures of religious significance)&amp;#44;@{target|RELIGION} (1d20 + Religion)&amp;#124;🥂 Society (local history ▪️ key personalities ▪️ legal institutions ▪️ societal structure ▪️ humanoid culture)&amp;#44;@{target|SOCIETY} (1d20 + Society)&amp;#125;]] vs a **DC [[?&amp;#123;What's the Level of the task?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the task or the monster&amp;#124;Incredibly easy (or Common)&amp;#44;-10&amp;#124;Very easy (or Common)&amp;#44;-5&amp;#124;Easy (or Common)&amp;#44;-2&amp;#124;Normal (or Common)&amp;#44;0&amp;#124;Hard (or Uncommon)&amp;#44;2&amp;#124;Very Hard (or Rare)&amp;#44;5&amp;#124;Incredibly Hard (or Unique)&amp;#44;10&amp;#125;]]** text. **Critical Success** You recall the knowledge accurately and gain additional information or context. **Success** You recall the knowledge accurately or gain a useful clue about your current situation. **Critical Failure** You recall incorrect information or gain an erroneous or misleading clue. &amp;#125;&amp;#125;|🔎 Seek,/em : @{target|token_name} tries to 🔎 Seek /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Seek&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 471](<a href="https://2e.aonprd.com/Actions.aspx?ID=84)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=84)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**🔎 Seek ▶️** You scan an area for signs of creatures or objects. If you’re looking for creatures&amp;#44; choose an area you’re scanning. A ***30-foot cone*** or a ***15-foot burst*** within line of sight. If you’re using Seek to search for objects (including secret doors and hazards)&amp;#44; you search up to a ***10-foot square adjacent*** to you. **@{target|token_name}** rolled a [[1d20+@{target|PERCEPTION} (1d20 + Perception)]] vs. **DC [[?&amp;#123;What's the Level of the secret door or hazard?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;Is the secret door or hazard&amp;#124;very Common&amp;#44;-10&amp;#124;rather Common&amp;#44;-5&amp;#124;Basic&amp;#44;-2&amp;#124;Normal or Common&amp;#44;0&amp;#124;Uncommon&amp;#44;2&amp;#124;Rare&amp;#44;5&amp;#124;Unique&amp;#44;10&amp;#125;]]** if it’s a secret door or hazard; for a creature compare to **Stealth DC**. **Critical Success** If you were searching for creatures&amp;#44; any undetected or hidden creature you critically succeeded against becomes observed by you. If you were searching for an object&amp;#44; you learn its location. **Success** If you were searching for creatures&amp;#44; any undetected creature you succeeded against becomes hidden from you instead of undetected&amp;#44; and any hidden creature you succeeded against becomes observed by you. If you were searching for an object&amp;#44; you learn its location or get a clue to its whereabouts&amp;#44; as determined by the GM.&amp;#125;&amp;#125;|🧭 Sense Direction,/em : @{target|token_name} tries to 🧭 Sense Direction /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Sense Direction&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01=EXPLORATION &amp;#124; SECRET&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125;&amp;#123;&amp;#123;info02=[Core Rulebook pg. 252](<a href="https://2e.aonprd.com/Actions.aspx?ID=64)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=64)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**🧭 Sense Direction** Using the stars&amp;#44; the position of the sun&amp;#44; traits of the geography or flora&amp;#44; or the behavior of fauna&amp;#44; you can stay oriented in the wild. **@{target|token_name}** rolled a [[1d20+@{target|SURVIVAL} (1d20 + Survival)]] vs. **DC [[?&amp;#123;What's the Level of the wilderness?&amp;#124;0&amp;#44;14&amp;#124;1&amp;#44;15&amp;#124;2&amp;#44;16&amp;#124;3&amp;#44;18&amp;#124;4&amp;#44;19&amp;#124;5&amp;#44;20&amp;#124;6&amp;#44;22&amp;#124;7&amp;#44;23&amp;#124;8&amp;#44;24&amp;#124;9&amp;#44;26&amp;#124;10&amp;#44;27&amp;#124;11&amp;#44;28&amp;#124;12&amp;#44;30&amp;#124;13&amp;#44;31&amp;#124;14&amp;#44;32&amp;#124;15&amp;#44;34&amp;#124;16&amp;#44;35&amp;#124;17&amp;#44;36&amp;#124;18&amp;#44;38&amp;#124;19&amp;#44;39&amp;#124;20&amp;#44;40&amp;#124;21&amp;#44;42&amp;#124;22&amp;#44;44&amp;#124;23&amp;#44;46&amp;#124;24&amp;#44;48&amp;#124;25&amp;#44;50&amp;#125;+?&amp;#123;is a compass available?&amp;#124;no&amp;#44;2&amp;#124;yes&amp;#44;0&amp;#125;]]** **Critical Success** You get an excellent sense of where you are. If you are in an environment with cardinal directions&amp;#44; you know them exactly. **Success** You gain enough orientation to avoid becoming hopelessly lost. If you are in an environment with cardinal directions&amp;#44; you have a sense of those directions.&amp;#125;&amp;#125;|👩🏾‍⚖️ Sense Motive,/em : @{target|token_name} tries to 👩🏾‍⚖️ Sense Motive /w gm &amp;&amp;#123;template:rolls&amp;#125; &amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125; &amp;#123;&amp;#123;header=Sense Motive&amp;#125;&amp;#125; &amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01=CONCENTRATE &amp;#124; SECRET&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02=[Core Rulebook pg. 471](<a href="https://2e.aonprd.com/Actions.aspx?ID=85" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=85</a> )&amp;#125;&amp;#125; &amp;#123;&amp;#123;desc=**👩🏾‍⚖️ Sense Motive ▶️ ** You try to tell whether a creature’s behavior is abnormal. **@{target|token_name}** rolled a [[1d20+?&amp;#123;What skill are you using?&amp;#124;🗣 Deception&amp;#44;@{target|Deception} (1d20 + Deception)&amp;#124;👁Perception&amp;#44;@{target|PERCEPTION} (1d20 + Perception)&amp;#125;]] vs. the Deception DC of the other creature **Critical Success** You determine the creature’s true intentions and get a solid idea of any mental magic affecting it. **Success** You can tell whether the creature is behaving normally&amp;#44; but you don’t know its exact intentions or what magic might be affecting it. **Failure** You detect what a deceptive creature wants you to believe. If they’re not being deceptive&amp;#44; you believe they’re behaving normally. **Critical Failure** You get a false sense of the creature’s intentions.&amp;#125;&amp;#125;|👣 Sneak,/em : @{target|token_name} tries to 👣 Sneak /w gm &amp;&amp;#123;template:rolls&amp;#125;&amp;#123;&amp;#123;charactername=&amp;#125;&amp;#125;&amp;#123;&amp;#123;header=Sneak&amp;#125;&amp;#125;&amp;#123;&amp;#123;subheader=@{target|token_name}&amp;#125;&amp;#125;&amp;#123;&amp;#123;info01_name=Traits&amp;#125;&amp;#125; &amp;#123;&amp;#123;info01=MOVE &amp;#124; SECRET&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02_name=Source&amp;#125;&amp;#125; &amp;#123;&amp;#123;info02=[Core Rulebook pg. 252](<a href="https://2e.aonprd.com/Actions.aspx?ID=63)&amp;#125;&amp;#125" rel="nofollow">https://2e.aonprd.com/Actions.aspx?ID=63)&amp;#125;&amp;#125</a>; &amp;#123;&amp;#123;desc=**👣 Sneak ▶️** You can attempt to move to another place while becoming or staying undetected. Stride up to half your Speed. (You can use Sneak while Burrowing&amp;#44; Climbing&amp;#44; Flying&amp;#44; or Swimming instead of Striding if you have the corresponding movement type; you must move at half that Speed.) **@{target|token_name} rolled a [[1d20+@{target|STEALTH} (Stealth)+?&amp;#123;has @{target|token_name}:&amp;#124;no Cover&amp;#44;0 (no Cover)&amp;#124;Cover&amp;#44;2 (Cover)&amp;#124;Greater Cover&amp;#44;4 (Greater Cover)&amp;#125;]]** vs. **Perception DC** of each creature @{target|token_name} was hidden from or undetected by at the start of @{target|token_name}s movement **Success** You’re undetected by the creature during your movement and remain undetected by the creature at the end of it. You become observed as soon as you do anything other than Hide&amp;#44; Sneak&amp;#44; or Step. If you attempt to Strike a creature&amp;#44; the creature remains flat-footed against that attack&amp;#44; and you then become observed. If you do anything else&amp;#44; you become observed just before you act unless the GM determines otherwise. The GM might allow you to perform a particularly unobtrusive action without being noticed&amp;#44; possibly requiring another Stealth check. If you speak or make a deliberate loud noise&amp;#44; you become hidden instead of undetected. If a creature uses Seek and you become hidden to it as a result&amp;#44; you must Sneak if you want to become undetected by that creature again. **Failure** A telltale sound or other sign gives your position away&amp;#44; though you still remain unseen. You’re hidden from the creature throughout your movement and remain so. **Critical Failure** You’re spotted! You’re observed by the creature throughout your movement and remain so. If you’re invisible and were hidden from the creature&amp;#44; instead of being observed you’re hidden throughout your movement and remain so.&amp;#125;&amp;#125;} This is for secret checks done by the DM/GM. Also I have a little API Script for setting up tokens fast and easy: Code: var tokenAction = tokenAction || (function() { 'use strict'; var version = '0.0.2', sheetVersion = 'Pathfinder 2E', checkInstall = function() { log('TokenAction v'+version+' is ready! Designed for use with the '+sheetVersion+' character sheet!'); }, getSelectedCharacters = function(selected) { return _.chain(selected) .map(function(s){ return getObj(s._type,s._id); }) .reject(_.isUndefined) .map(function(c){ return getObj('character', c.get('represents')); }) .filter(_.identity) .value(); }, createAbility = function(name, pattern, id) { var checkAbility = findObjs({_type: 'ability', _characterid: id, name: name}); if (checkAbility[0]) { checkAbility[0].set({action: pattern}); } else { createObj('ability', {name: name, action: pattern, characterid: id, istokenaction: true}); } }, createRepeating = function(name, pattern, prefix, id) { var repeatingAttrs = filterObjs(function(o){ return o.get('type')==='attribute' &amp;&amp; o.get('characterid') === id &amp;&amp; o.get('name').match(name); }); _.each(repeatingAttrs,function(attr){ //sendChat("TokenAction", "name: " + attr.get('name')); var repeatingId = attr.get('name').split('_')[2], repeatingName = attr.get('current'), repeatingAction = "%{" + id + "|" + (pattern.replace(/%%RID%%/g,repeatingId)) + "}", checkAbility = findObjs({_type: 'ability', _characterid: id, name: repeatingName}); if (checkAbility[0]) { checkAbility[0].set({action: repeatingAction}); } else { createObj("ability", {name: prefix + ' ' + repeatingName, action: repeatingAction, characterid: id, istokenaction: true}); } }); }, isNpc = function(id) { var checkNpc = findObjs({_type: 'attribute', _characterid: id, name: 'sheet_type'}); if (_.isUndefined(checkNpc[0])) { return false; } else { return checkNpc[0].get('current').toLowerCase() === "npc"; } }, deleteAbilities = function(id) { var abilities = findObjs ({_type: 'ability', _characterid: id}); _.each(abilities, function(r) { r.remove(); }); }, handleInput = function(msg) { var char; if (msg.type === 'api' &amp;&amp; msg.content.search(/^!ta\b/) !== -1 &amp;&amp; msg.selected) { char = _.uniq(getSelectedCharacters(msg.selected)); _.each(char, function(a) { if (isNpc(a.id) === true) { //createAbility('Init', '%{selected|INITIATIVE}', a.id); //createAbility('Percept', '%{selected|PERCEPTION}', a.id); createRepeating(/repeating_melee-strikes_[^_]+_weapon\b/, 'repeating_melee-strikes_%%RID%%_ATTACK-DAMAGE-NPC', '⚔️', a.id); createRepeating(/repeating_ranged-strikes_[^_]+_weapon\b/, 'repeating_ranged-strikes_%%RID%%_ATTACK-DAMAGE-NPC', '🏹',a.id); createRepeating(/repeating_items-worn_[^_]+_worn_item\b/, 'repeating_items-worn_%%RID%%_action', '💎',a.id); createRepeating(/repeating_interaction-abilities_[^_]+_name\b/, 'repeating_interaction-abilities_%%RID%%_action', '👋🏽',a.id); createRepeating(/repeating_free-actions-reactions_[^_]+_name\b/, 'repeating_free-actions-reactions_%%RID%%_action', '🛡', a.id); createRepeating(/repeating_actions-activities_[^_]+_name\b/, 'repeating_actions-activities_%%RID%%_action', '🧬', a.id); createRepeating(/repeating_spellinnate_[^_]+_name\b/, 'repeating_spellinnate_%%RID%%_npcspellroll', '🎆', a.id); createRepeating(/repeating_spellfocus_[^_]+_name\b/, 'repeating_spellfocus_%%RID%%_npcspellroll', '🎇', a.id); createRepeating(/repeating_cantrip_[^_]+_name\b/, 'repeating_cantrip_%%RID%%_npcspellroll', '🌠', a.id); createRepeating(/repeating_normalspells_[^_]+_name\b/, 'repeating_normalspells_%%RID%%_npcspellroll', '🌌', a.id); sendChat("TokenAction", "/w " + msg.who + " Created Token Actions for NPC " + a.get('name') + "."); } else { sendChat("TokenAction", "/w " + msg.who + " Created no Token Actions for PC " + a.get('name') + "."); } }); } else if (msg.type === 'api' &amp;&amp; msg.content.search(/^!deleteta\b/) !== -1 &amp;&amp; msg.selected) { char = _.uniq(getSelectedCharacters(msg.selected)); _.each(char, function(d) { deleteAbilities(d.id); sendChat("TokenAction", "/w " + msg.who + " Deleted Token Actions for " + d.get('name') + "."); }); } return; }, registerEventHandlers = function() { on('chat:message', handleInput); }; return { CheckInstall: checkInstall, RegisterEventHandlers: registerEventHandlers }; }()); on('ready',function() { 'use strict'; tokenAction.CheckInstall(); tokenAction.RegisterEventHandlers(); }); I hope that this will help a little... Robert
Unfortunatley the forum doesn't show the emoticons I use in there... but inGame it all works as a charm :)