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 .
×

[DnD 3.5e] character sheet seems to be leaking templating code? Or some kind of macro code?

I've been using Roll20 for DnD 5e for a while and love it, so when a friend of mine in another state and I decided to do a 3.5 campaign (because that's what she knows,) I started working on a character sheet. &nbsp;I was rather confused, then, when in some textboxes, (for example, to the right of the Temp column for ability scores,) I got this:&nbsp; <a href="http://hastebin.com/alitanucil.lua" rel="nofollow">http://hastebin.com/alitanucil.lua</a> &nbsp;I pasted that into the Roll20 chat and actually got a JS error on calling a 'substring' method on something undefined :p &nbsp;I'm a web developer for a living, so I think I have a vague idea of what's going on here, but thought I'd report it. I've noticed this in Chrome on Windows 10, Windows 7, and OSX. &nbsp;JS is enabled, cookies are enabled, etc.
I believe those textboxes are exposing the underlying macro so you can edit and customize it for your character. There should be a button on the sheet nearby that you click to make the roll; I don't think they will work copying and pasting into chat. If you don't need to change it, you can just ignore it.
&{template:DnD35StdRoll} {{abilityflag=true}} {{name=@{character_name} }} {{check=Strength check:}} {{checkroll=[[1d20 + [[@{str-mod}]] ]] }} This is a Roll Template ; it's likely what the aforementioned nearby sheet button outputs to the text chat when clicked. Normally, to acquire the contents of a sheet button: Click on the sheet button. Focus the text chat input box (by clicking into to it, or using the Advanced Shortcut : c c). A blue outline will appear around it when it's focused. Press the up arrow key on your keyboard. The contents of the sheet button will then populate the text chat input box. For those who enjoy customizing macros, this feature (accessible Roll Template code) is a nice touch. The error message you received very likely stems from the Attribute calls @{character_name} and @{str-mod}. Attribute calls (e.g. @{AC}) that are not placed within one of tabs of a Character Window (e.g. within a field on the Character Sheet Tab or within an Ability on the Attributes & Abilities Tab ) must use a keyword to let the parser know which Character you intend to call that Attribute from (e.g. @{selected|AC}). Using a Selected Token with a Macro Using a Targeted Token with a Macro It's also worth noting that, for whatever reason, Ability calls always require a keyword , even within a tab of a Character Window . (e.g. %{AttackMacro} won't work but %{Character Name|AttackMacro} will.) Hopefully this clears some things up. :)
1457029056
Diana P
Pro
Sheet Author
Also, on the 3.5 sheet, if you hover over the field, it will tell you the name of the field and sometimes additional information. The particular field that has that roll template/macro in it says "str-macro (modify to modify roll macro)" for example.