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

I'm making a Stacking Macro, it's 99% done except for one unexplainable problem... HELP

1547105599

Edited 1547137875
So I'm using the default template for my 2nd edition d&d campaign. I've made all the individual macros for each spell and they ALL work. But then I try combining them into one stacking macro, after the #, when the pop up comes up, there are only 5 of my Macros to chose from. I have over 20 macros and they all work when used singly. But the list to choose from only has five . Has anyone else ran into this problem? Is there a fix? (I'll post my code below, sorry I tried posting screenshots, but they didn't seem to want to load.) &{template:default}{{name=Priest Spell Book}}{{Spells=[Bless](!
#Bless) [Cure Light Wounds](!
#Cure Light Wounds) [Protection vs Evil](!
# THE SPELL IS NOT AVAILABLE TO SELECT HERE)}}
1547114149

Edited 1547114225
The example you posted, only has 4 spells to choose from, and there may also be an issue with the sub-macro calls being names with spaces in them.  Is there something odd that I am not understanding here in what you've posted?
Really wish I could have posted pictures. Basically I have 12+ macros in my macro library. But when the auto fill kicks in during the completion of the Macro, it only shows me 4 regardless of how I do it. I will try to change the macros to all one word hoping that helps.
1547131386
Kai
Sheet Author
Sorry, if this sounds stupid,  but did you try to enter the names manually in your roll template?
I did, but sadly it still don't detect my complete macro list.
I was able to get the picture to upload so it's easier to see what I'm talking about.
1547135269

Edited 1547135433
Kai
Sheet Author
Ok, I tried in my own campaign. If I type the # alone the pop-out list shows only my first five macros. If I type for example #g the list shows five other macros starting with the letter g in alphabetical order. Does this work for you? Looking at your picture - if you type #p it should show your protection-from-evil makro.
It does not work for me, but that makes me think there is either a code error with my account or more likely there is a problem with my spell coding from when I created it. I'm going to go back and take a look to see. Hopefully I can find a simple mistake and correct it. However, if you or anyone else reading this, can think of an alternative problem or solution please post, if this don't work I really am lost.
1547136601
GiGs
Pro
Sheet Author
API Scripter
Shane said: Really wish I could have posted pictures. Basically I have 12+ macros in my macro library. But when the auto fill kicks in during the completion of the Macro, it only shows me 4 regardless of how I do it. I will try to change the macros to all one word hoping that helps. Can you post the full text of the macro in this thread?
Kai, I tried tying and nothing happened. I'll post a couple of pics. GiGs, I'll go get the list of macros now and see if I can post a picture, Side note: Thanks everyone for all the help.
GiGs, is this what you wanted?  My macro are all inline format
1547142457
Kai
Sheet Author
Could you also post your Strength-of-stone macro, please?
Hey Kai, so I got a hold of Roll20 on Facebook. They say it looks like my page has ran into a previous known issue where the drop down menu does not function correctly. They suggest I create a new page and try it there, it that works, I'm going to have to delete the game and recreate it again. If you still would like me to, I'll gladly post the Strength to Stone macro tho.
1547149484
Kai
Sheet Author
Hey Shane, thanks for the update. If this is a known issue, a new game will most likely solve your problem. So you don't have to post your macro. Hope you can make it work :-).
So I did create a new campaign and I'm still having the same problem. This makes me think the problem is with my Macros. (I didn't delete the original game before I tried the new one.) So I've made so MS Paint displays to help understand what happening, if anyone can please help, I really want this matter resolved.
1547152833

Edited 1547175735
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I would suggest an alternate method on this. Instead of building them as Collections Macros , build everything as Abilities on a character sheet. The syntax is much simpler; you won't have to mess around with HTML replacements. The format is: [ButtonName}(~MacroName) If your intent is to have one big spellbook with all the spells that any player can use, put all of them onto a character called "Spellbook", then each character can call them by putting an Ability Command Button that looks like this: [ButtonName](~Spellbook|Spellname) Each character who has spells could have a token macro that looks like this: &{template:default}{{name=My Spell Book}}{{Spells= [Spell1](~Spellbook| Spell1 ) [Spell2](~Spellbook| Spell2 ) [Spell3](~Spellbook| Spell3 ) [Spell4](~Spellbook| Spell4 ) }} And so forth. MUCH simpler than mucking about with HTML replacements. There are other benefits to a Spellbook Character sheet. Your spells are portable through the Character Vault. Just bring them into a new campaign. No re-typing. They are centralized. Change one and they all change. More info here and here .
Thx for the info Keithcurtis. I do have them listed as Character abilities also, but I I find they stretch across the top of the screen, and the more I add the more cluttered it will be. So I like the spell book idea. I do have a question about the third option, when I'm filling it out, does the drop down menus act as an auto fill? I'm not certain if I have a problem there or not.
1547154014
Kai
Sheet Author
Shane, you have a typo in your Spell Book Makro (last screenshot). #Strength of Stone should be #Strength - of - Stone.
1547154191
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Drop Down menu should act as an autofill for collections macros, but it won't for the method I was showing. If you use the spellbook Macro you wrote and I modified into an Ability, then you really only need that one button on your Token Actions Bar or Macro Quick Bar. That button will call up a Chat Menu and you can select the spell from the resulting buttons in chat.
Thx for pointing that out Kai, sorry I must be better frustrated in my typing as well, and Keithcurtis, that is what I'm looking for, so i'll let ya know how it worked out. Seriously guys, thanks for the help. You are both awesome!!!
Keithcurtis, do you have a link for me to look up the last macro option to familiarize myself with how to fill it out? Or what is the macro name so I can do a little research myself. I really want to get his right, but I'm a macro noob and need to do some reading first.
1547162058
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Just in case you missed it above, I linked more info  here  and  here . Is there something more specific?
Keith I almost have it doing exactly what I want. A couple things to note. When I put in the #Bless   A pop up menu didn't appear. But it seems to be working fine except for the writing above the Spell Text Box in the chat. The other two spells don't work at all. Can you see what I did wrong here? Need any more information, I would be happy to provide it. Also,  do you work for Roll20 or are you just going out of your way to help a stranger here?
Ok Keith, I got it to work!!! The trick was rereading the link you gave me 5 times not 4, lol. I got the pop up menus to work and all spell fire as intended. All I had to do was [Bless](!#Bless) and it functions just fine. I only have one small complaint that I can live with if there is no fix. Like in the picture above I'm still getting the "No Ability was found for...." But I'm assuming that is from coding in the actual spell.
1547176815
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The problem you are running into is mixing Abilities and Macros. Different code. Strength to Stone is calling an Ability, but I would guess you have it as a Macro. If you call an Ability that is not on the current sheet, you need to specify the sheet: Calling a Collections Macro: [Spell1](!
# Spell1 ) Calling an Ability on the same sheet [Spell1](~ Spell1 ) Calling an Ability on a different sheet [Spell1](~Spellbook| Spell1 ) And no, I don't work for Roll20, but I am a volunteer moderator. I try to only use the Mod Tag when I'm acting in an official capacity. So I am "just going out of your way to help a stranger ", but there are lots of folks on the forum who do that.
So am I making a mistake by having all my spells as a Macro and an ability under the ability section on a characters sheet? Also, glad you are willing to help, you have no idea how much of a life savor you are, I'm having a hard time with this using this "computer language" but still want a very specific look.
1547188697
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It's certainly doable to mix-and-match. I just wouldn't recommend it, for simplicity's sake. My advice is to stick with abilities whenever possible. The syntax is simpler.