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

Need help with the Pathfinder Character Sheet Generator

1389450890

Edited 1389451661
Something in the scripts as posted seems to be causing problems with Roll20. I can usually get the !skill command script to work once, then the script crashes. I have to exit the campaign, re-save the script to start a new sandbox, then I can run the command for a new character journal. Also, I'm still getting my coding feet wet - there seems to be an issue with the code that runs with the !skill command. Instead of replacing the skill ability macro with the new macro that includes the class skill bonus, it seems to insert the code with the class skill bonus before the existing code. In other words, there are two "/e..." commands that show up when you edit the macro. This doesn't just happen for the class skills, either. I have to go through every ability macro and delete the second /e command. Anyone with more coding experience have any ideas on this? I've posted these issues under the API script topic, but there's been no reply there. Referring to Big Mike's version of the script, if that helps.
Lets try this again - lots of views on the subject, but no replies. Here's the link to the code. Does anyone else have the same issues with the crashing? Anyone have an idea how to fix it? <a href="https://gist.github.com/bigdadmike/7617319" rel="nofollow">https://gist.github.com/bigdadmike/7617319</a>