Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow OTFs to call standard Foundry chat commands. #2067

Open
mjeffw opened this issue Dec 27, 2024 · 0 comments
Open

Allow OTFs to call standard Foundry chat commands. #2067

mjeffw opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mjeffw
Copy link
Collaborator

mjeffw commented Dec 27, 2024

Here's an example from one of our users:

/if [M:"Halberd (Swung)"] s:{/r [D:"Halberd (Swung)"]} cs:{/m CritHitCalcMelee attack="Halberd (Swung)" kbm=1 fon=none } f:{/ic I missed!} cf:{/fp -1 \\/ooc:You crit failed your attack, so you drop your weapon!}

Notice that the critical success clause is using the standard Foundry /macro chat message, while the two failure cases are using /ic and /ooc.

@mjeffw mjeffw added the enhancement New feature or request label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant