Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script Update Request, MotD] Adding a preview command for GMs that also resets all players last login

1554693785

Edited 1554693859
This script has been great, except when I ran into an interesting debacle from a bad entry the other day that disabled all my other scripts.  The problem is not knowing this for hours before it happened. So what I am requesting is the ability to run a command to fire the API off after resetting everyone's last log-in, including the editor/ GM. Perhaps as simple as !MotD or specific as !MotD --preview This way you can get a clean version into the chat window (which only clutters your window, as the script regularly does) for editing purposes.  It would be nice if this had the option to also set on every edit as well, that hitting Save in the MotD note would automatically show the final result in the chat window. Most of this is for debug purposes, as a recent edit to mine disabled the API sandbox for me.  But some would enjoy this feature just to see if their edit looks clean, look for typos, etc.  You could even add a contextual reference, perhaps something was said in the MotD that needs referenced later to a player or the players. !MotD --send|"Bob" to send to the Bob character or !MotD --all to send to the group, including yourself
BTW, I use this script to write session recaps, which means we don't have to spend 15-20 minutes covering the events of the previous session, allowing us to jump right into play at gametime!  TYVM for this Aaron, it really speeds things up!
1554705540
The Aaron
Roll20 Production Team
API Scripter
Those are great suggestions I can definitely accommodate!
The Aaron said: Those are great suggestions I can definitely accommodate! Because yerr awesome!
I use MotD in much the same way that Wolf does and these options would be great. Many thanks Aaron.
Any idea when we could expect an update to post to the one-click?  I know you have many irons in the fire, and don't expect this to be made a top priority or anything, just was curious as to a time frame.  Still debugging the MotD issue and it seems to want to take forever to repost to my chat window.
Another strange suggestion .... might not be as easy to accommodate. Would it be feasable to have the standard "MotD Note" handout, and also have a "MotD DM Note" handout? The situation being that I am not the only GM in the game, and this would eliminate my need to bother them on discord, instead reminding them of things for next session when they log into game. You could also setup a !MotD --config option, with the following options Message of the Day Configuration MotD Note on: true (turns the function on/ DEFAULT, creates MotD Note handout if there isn't one) |false (turns the function off, deletes any existing MotD Note handout) MotD Note output: all (gms and players/ DEFAULT) |Players (all players only) |GMs (all GMs only) MotD Note delay : [      10]ms (10 ms Default, Do not set below this!) MotD DM Note on: false (turns the function off/ DEFAULT, deletes any existing MotD DM Note handout) |true (turns the function on, creates MotD DM Note if there isn't one) MotD DM Note output : GMs (all GMs only/ DEFAULT, for private GM-Only information, like highlights and review of the last session or notes for next session) |all (gms and players , in case you wanted to add a different context handout for players ) |Players (all players only, in case you wanted to add a different context handout for players, a listing of rules for example) MotD Note delay: [      15]ms (15 ms Default, Do not overlap with MotD Note delay, do not set below 10ms) Edit Mode on: true (Default, generates a !MotD --preview every time a new save is detected) |false (does not) [ Save ] The only thing is not knowing how feasable it is to have one API trying to juggle two different input/ output mechanics.
1554846465
The Aaron
Roll20 Production Team
API Scripter
Would it be sufficient to have the GM section of the MotD note whispered to GMs that log in? should have changed done this weekend, which means in the 1-click Tuesday night or do. 
1554873848

Edited 1554873858
yeah - that would be awesome!
How is this one coming, The Aaron?  Haven't seen it hit the update yet.  Maybe it did, not sure.
1556044702
The Aaron
Roll20 Production Team
API Scripter
I’m still working on it. The API was having some issues when I worked with it over the weekend, hoping to pick it back up this week. 
cool.
1556248912
The Aaron
Roll20 Production Team
API Scripter
Ok, new version is up!&nbsp; v0.2.10.&nbsp; Details here:&nbsp; <a href="https://app.roll20.net/forum/post/7401827/script-update-motd-message-of-the-day-taken-from-a-handout-and-shown-to-players-when-they-log-in/?pageforid=7401827#post-7401827" rel="nofollow">https://app.roll20.net/forum/post/7401827/script-update-motd-message-of-the-day-taken-from-a-handout-and-shown-to-players-when-they-log-in/?pageforid=7401827#post-7401827</a> Download here:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/MotD/MotD.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/MotD/MotD.js</a>
Thanks for the update Aaron. This will be great for my game.
1556279869
The Aaron
Roll20 Production Team
API Scripter
No problem! &nbsp;Will be great for MY games, too! =D
The Aaron said: Ok, new version is up!&nbsp; v0.2.10.&nbsp; Details here:&nbsp; <a href="https://app.roll20.net/forum/post/7401827/script-update-motd-message-of-the-day-taken-from-a-handout-and-shown-to-players-when-they-log-in/?pageforid=7401827#post-7401827" rel="nofollow">https://app.roll20.net/forum/post/7401827/script-update-motd-message-of-the-day-taken-from-a-handout-and-shown-to-players-when-they-log-in/?pageforid=7401827#post-7401827</a> Download here:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/MotD/MotD.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/MotD/MotD.js</a> Gonna wait till it hits the one-click on Tuesday so it remains on the auto-updates in case anything new follows this one. TYVM The Aaron!&nbsp; Can't wait to see this!