
Good day, I am running a homebrew game where one of the players is writing up a large amount of extra information about the world, and hence needs handouts every so often for him to write in. I do not want to give him GM access, as there is a huge wealth of information I don't want him having access to, especially seeing as most of it is major spoilers, or conceptual thoughts. I am not always available for him to ask for a new handout, so until now, I have been creating them in batches of 10, but I would prefer a command he could use to create a handout, under control of him, that he can create, edit, and leave for me to sort into the correct folder when I am on. I have created (From examples on the Wiki) the following script: on("chat:message", function(msg) { if(msg.type == "api" && msg.content.indexOf("!handout")) { var handout = createObj("handout", { name: "Mysterious Note", inplayerjournals: "all", controlledby: "-JxRg_oh-fp0SWv80SLU", archived: false }); } }); However, the player in question (That is his PlayerID there) cannot use the !handout command to generate a handout, nothing pops up at all. Does anyone spot an error I have made, or can offer advice? Also, I know API Scripts cannot access the folder hierarchy, but is there any way to make them be able to access a very specific folder? Even by brute force? If not, that is fine, they can sit in the root directory. (I did notice on a testing campaign the handouts created would always be placed in the default "Handouts" folder.) Thank you for your time.