Skip to content

Instantly share code, notes, and snippets.

@tawilliams
tawilliams / gist:ad613962b9a298d54ba2baf77cf0d494
Last active November 3, 2021 19:11
Waterdeep interactive website import to Foundry VTT (First Function is to define wait, Second function, between comments, is folder code grabber)
async function wait (ms) {
return new Promise(resolve=>{
setTimeout(resolve,ms);
});
}
/* utility to get my existing folder names + IDs
game.folders.forEach((value) => {
console.log(value.data.name + " " + value.data._id)
})
@tawilliams
tawilliams / Avrae Commands
Last active December 2, 2022 18:54
Avrae Commands from Tutorials
https://avrae.io/commands
Arguments in brackets like <this> are required, and arguments in brackets like [this] are optional. Make sure not to include the brackets themselves! Semicolons ; will be used to separate commands and descriptions in this document.
!help COMMANDNAME ; view the syntax and check that that is correct.
### Tutorial Quickstart
!roll d20 ; rolls 1d20 and posts the result.