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

Does anyone have a simple script to edit an attribute?

So i'm just looking for a script which just basically edits the value of an ability with say !Ability -@{Selected|Strength} -1d4 etc or whatever I substitute 1d4 with? I'm sure one has been done before but maybe someone has a more up to date one lying around. Yours Sincerely in advance! 
1456254854

Edited 1456279179
The Aaron
Pro
API Scripter
HB made one name Attrib which is floating about somewhere &nbsp;(Here's my modified copy: <a href="https://gist.github.com/shdwjk/a742b1c89a8074372ya2c" rel="nofollow">https://gist.github.com/shdwjk/a742b1c89a8074372ya2c</a> ). &nbsp;I'm working on one called CharMod (mostly done.. pesky formatting left...).
Thanks Scriptomancer but that link seems to lead me to nowhere :o
1456266351

Edited 1456266405
URL has an extra space at the end <a href="https://gist.github.com/shdwjk/a742b1c89a8074372a2c" rel="nofollow">https://gist.github.com/shdwjk/a742b1c89a8074372a2c</a>
Mmm Thanks! Though is there a way to make this alter multiple attributes at once? If there is im failing to see it :&lt; (By once I mean with one&nbsp;!attrib call)
1456278700
The Aaron
Pro
API Scripter
I doubt it. (But CharMod can do that!)
Looking forward to that elusive CharMod Aaron!! &nbsp;Lol
1456342832
The Aaron
Pro
API Scripter
Me too! &nbsp;It's done except for the formatting of things. TM &nbsp; =D