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

Help with Universal Chat Menus for Fabula Ultima

I'm attempting to build chat menus for the fabula ultima community sheet using the Universal Chat Menus script found here: <a href="https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/7474530/script-call-for-testers-universal-chat-menus/?pagenum=1</a> &nbsp; I managed to get main hand and off-hand weapon swings to work with the "Other Attributes" formatting from the script, however I did need to edit the sheet HTML to assign a name to the Accuracy button. My problem comes from&nbsp;Repeating Section buttons, which I would need to use for magic. I've gotten the chat menu to list off all the spells in the repeating section, but the button in the chat menu fails to roll the spell info. I've noticed dragging the Magic Check button from the sheet into the quick macros also fails to roll the spell info so I think it has to do with the sheet HTML but can't see any issue with it. Here's the macro code I have (note this will not work out of the box for others as it's designed to work with the modified sheet HTML I used to name buttons): !chatmenu @{selected|character_id} @{selected|character_name}'s Chat Menu --title:Weapons --@{selected|mainWeaponName},tn|@{selected|offWeaponName},n --title:Magic --repeating_offensivespells|offensiveSpellName|gbtn --repeating_basespells|baseSpellName|mbtn This is what the output for repeating sections ends up looking like when used with either the chat menu and quick macro bar: No ability was found for %{Phiojaw Soch|repeating_offensivespells_gbtn} Tyler H. (GM):Phiojaw Soch|repeating_offensivespells_-Ojg0Bk3ezogzgK86M2b_gbtn I don't really care if it's the macro or the HTML that needs to be edited, I would just really like a clean chat menu that lists and can cast all of a selected character's spells. I'm not exactly a macro or HTML expert so help would be appreciated!&nbsp;
1769225184
Gauss
Forum Champion
Hi Tyler H.,&nbsp; If someone cannot get the API Script operational for you let me know, I can help you develop a macro that will generate a chat menu.&nbsp;
Well since no one else has replied yet, do you think a normal chat menu without an API would be able to do what I want? Since I haven't really dug into those much either I don't know the full capabilities, but I basically just want to have it list spells from a repeating table then post the spell details and roll an appropriate accuracy check when clicked. Not sure if you're familiar with Fabula, but the stats used for magic accuracy checks can vary character to character or I wouldve set up some random universal macro for that by now.
1769644676
Gauss
Forum Champion
There are a number of folks with macros for repeating lists. Yes, it can be done without an API Script. I probably cannot take a look at it this week, but I should have time next week. If you contact me on Discord we can discuss it further. I can show you an example from a different sheet. I am available on the Roll20 Discord server:&nbsp;<a href="http://discord.gg/roll20" rel="nofollow">http://discord.gg/roll20</a>
If you just tell me which sheet and dump the example code I can probably fiddle with it some in my free time to figure it out
1769668338

Edited 1769668556
Gauss
Forum Champion
Tyler H. said: If you just tell me which sheet and dump the example code I can probably fiddle with it some in my free time to figure it out There is no simple example code. It requires multiple attributes plus Ability macros. Then it requires CSS tricks.&nbsp;
1769714332
Gauss
Forum Champion
I asked Scott C to take a look, the sheet's author did not assign a name to the spell buttons so there is no way to call them.&nbsp; I suggest contacting the sheet authors and ask them to upgrade their sheet. If they don't (if it is abandoned) I would then suggest posting in the Character Sheets forum. Maybe someone will fix this.&nbsp; <a href="https://app.roll20.net/users/4842841/aurelien-c" rel="nofollow">https://app.roll20.net/users/4842841/aurelien-c</a> <a href="https://app.roll20.net/users/1020021/tozio" rel="nofollow">https://app.roll20.net/users/1020021/tozio</a> <a href="https://app.roll20.net/users/1470591/rezay" rel="nofollow">https://app.roll20.net/users/1470591/rezay</a> <a href="https://app.roll20.net/users/590534/alastor" rel="nofollow">https://app.roll20.net/users/590534/alastor</a>