
New to programming and doing some testing. I'm wondering where my error is in my code. Is this function able to be used within the script tag of a character sheet or only in the API console? <script type="text/worker">
on("sheet:opened", function() {
sendChat("Character sheet opened");
});
</script> Any help is appreciated. Thanks, Matt