
update 0.5: Added !agi -calc [attr] which will perform all nested operations needed allowing you to have an attribute that looks like this:
A simple script that rolls initiative for a group of tokens using an attribute as a bonus. If the attached journal to a token has the attribute, and if it's numeric, then it will be included in the initiative tracker. All tokens that do not have an attached journal or have an journal without the searched for attribute, it will ignore.
It's a simple, minimal, fast, script. For more functionality, see Aaron's GroupInitiative script.


6*(5d3)+floor(([[6d2+@{numa}]]+@{numb}+@{akvan|numc}+@{random})/8)+3d12Even if the attributes don't exist, or exist on other journals etc. It can meat grind it into a usable modifier. This version simply delegates much of the resolution to the roll engine so it'll hammer the server with messages. The performance penalty is directly related to how busy the server is (negligible unless you're doing over 30 tokens) , hence why !agi [attr] will always be faster for simple cases as it uses a single message.
A simple script that rolls initiative for a group of tokens using an attribute as a bonus. If the attached journal to a token has the attribute, and if it's numeric, then it will be included in the initiative tracker. All tokens that do not have an attached journal or have an journal without the searched for attribute, it will ignore.
It's a simple, minimal, fast, script. For more functionality, see Aaron's GroupInitiative script.


