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

Problem adding a Macro to a Handout

August 01 (7 years ago)

Heelllllllppppp!! I've read that it is possible to add a macro that will roll in the chat box to a handout in a few different places, but I can't figure out how to do it myself for the life of me. I'm not sure if i'm doing something wrong, or what, but I've become incredibly frustrated. Here's the situation:

My PC's have been given a Bag of Holding that contains 10 mystery potions, from an ex-adventurer NPC. I've created a rollable table with all the possible potions they might pull and a macro to go with it. Both the rollable table and the macro work perfectly and I'm happy with it. Here's where things get weird for me. I've created a handout for the Bag of Holding that will be in the journal of the PC in possession of it, and in the handout is a table where we can keep track of the bags contents. I want to link the mystery potion macro to the table so the player can just click the link to determine which random potion they pull out, BUT whenever I follow the directions I've been finding all over this forum the link that gets created redirects me away from Roll20 and to a web page that doesn't exist. 

The steps I'm following are:

  1. Open the Handout and click edit
  2. In the "Description and Notes" section, I click the "link" button
  3. In the pop out box I enter the "Text to Display" and in the "To what URL should this link go?" field, I enter: !
#[Mystery-Potion]
  4. Save the Handout

What the hell am I doing wrong?! Its making me want to pull my hair out. 

Thanks in advance, sorry for the novel.

This feature was broken with the Text Editor update. You can follow that bug thread to find out when/if it gets restored.

August 02 (7 years ago)
Hmm, well thats frustrating. Hopefully it's resolved soon.
August 02 (7 years ago)

Edited August 02 (7 years ago)
MyRoll20Stuffs
API Scripter


Kyle G. said:

This feature was broken with the Text Editor update. You can follow that bug thread to find out when/if it gets restored.

It appears to prefix URLs that don't contain "http:" with it - for example if I wanted to link a macro called "Crit" I create the link with the explained method but when right-clicking the saved handout's link and copying it then pasting it somewhere it gives me "http:#Crit" - I've never linked a macro in a handout - is this the a result of the Updated Text Editor? Is this a new behavior of creating links in the editor?

August 02 (7 years ago)


Kastion said:


Kyle G. said:

This feature was broken with the Text Editor update. You can follow that bug thread to find out when/if it gets restored.

It appears to prefix URLs that don't contain "http:" with it - for example if I wanted to link a macro called "Crit" I create the link with the explained method but when right-clicking the saved handout's link and copying it then pasting it somewhere it gives me "http:#Crit" - I've never linked a macro in a handout - is this the a result of the Updated Text Editor? Is this a new behavior of creating links in the editor?


It seems like it. The guy who made this video: https://www.youtube.com/watch?v=4APlIZQEqjA is commenting on the bug thread that he is having the same problem, and is immensely frustrated that the thousands of hours of work he has put into it is just gone.

Kastion said:

Kyle G. said:

This feature was broken with the Text Editor update. You can follow that bug thread to find out when/if it gets restored.

It appears to prefix URLs that don't contain "http:" with it - for example if I wanted to link a macro called "Crit" I create the link with the explained method but when right-clicking the saved handout's link and copying it then pasting it somewhere it gives me "http:#Crit" - I've never linked a macro in a handout - is this the a result of the Updated Text Editor? Is this a new behavior of creating links in the editor?

Yes, this is exactly what the problem is from the text editor update.

August 02 (7 years ago)
MyRoll20Stuffs
API Scripter


Sam S. said:

It seems like it. The guy who made this video: https://www.youtube.com/watch?v=4APlIZQEqjA is commenting on the bug thread that he is having the same problem, and is immensely frustrated that the thousands of hours of work he has put into it is just gone.

I'm damn lucky I keep 2 text files and a folder for backups in particular. I have all my macros in a text file, all my applications of said macros spread out randomly in another text file, and a folder of *.js files backing up all my API scripts (Plenty I modified and even more I coded myself).

I can't stress this enough. BACKUP EVERYTHING. Backup your FULL game (Including forums!) regularly! Backup your API scripts, your global macros, your token action macros, backup ALL the macros!

I'm running an ever-growing campaign that is so large it is currently split into 5 parts so far. I have a "Clean Slate" campaign which only has a "Placeholder" page but is otherwise my backup to ALL other games, containing every character sheet, handout, macro and API script of ALL 5 games. The only thing I haven't been backing up are the pages which I'm on the fence on whether or not I should back them up (They are probably the easiest facet to re-create in a pinch)

I even saved every marketplace purchase I have made to my SSD, a flash drive as well as my Google Drive (5427 tokens).

I've had a hard drive die on me in the past and lost 2 years worth of work / code. I will ALWAYS BACKUP EVERYTHING now - on multiple drives - on multiple storage services.