|Last updated||1 week ago|
|Created||1 year ago|
|Project source||Project URL|
Advanced Scripting Module
This module allows you to set macros to run when a particular Hook is sent by Foundry VTT. The hook that acts as a trigger and which macro to use can be configured using a Journal Entry.
Create a journal with the name you put in the module settings. (default:
Then in that journal you can add hooks that you want to trigger macros.
The general input method is:
hook name] @Macro[
The hooks and macro names are case sensitive.
You can have more than one macro on a line, for the same hook, but you can't put multiple hooks on the same line.
ᵐᵘˡᵗⁱᵖˡᵉ ʰᵒᵒᵏˢ ᵒⁿ ᵒⁿᵉ ˡⁱⁿᵉ ᶜᵃⁿ ᶜᵃᵘˢᵉ ʲᵒᵘʳⁿᵃˡ ᶜᵒʳʳᵘᵖᵗⁱᵒⁿ
Optionally, if you type @Macro[
macro name](arg1,arg2 ,arg3) you can use args from The Furnace
If you don't know what hook you need, The Furnace has a handy option that allows you to enable debugging. Which will show hooks in the console when they are called. Open the console with
ctrl + shift + i or
Don't create macros that run from the chat hook and create chat messages that take more than 1 seconds to output to chat.
Check the Changelog
If you acidentally created a macro that locks you out of the game. You can fix it by holding the END key while logging into your world. This makes the module not run any macros.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: launchmacro or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.