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

Looking for a splash screen reminder

I'm looking for some sort of API that will remind people to make pay-per-session payments. The customers are for the most part really good about staying on top of payments. But I would like something to help obviate the process as many play late into the night or at the end of a long day and simply forget.  Currently, I am using "Message of the Day" API and found a blurb in the chatbox at the beginning of a session often gets ignored 
1627681767
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The API doesn't have any ability to create a pop up. The closest it can come is what MotD does, or displaying an image on the map. The image display has some problems with it if DL is enabled because it would get cut off by the DL lines.
1627683348
timmaugh
Forum Champion
API Scripter
DiscreteWhisper can send templated, differentiated messages to people, which could let you prompt them all for what they owe... possibly even using a value you stash on their character sheet. Alternatively, SelectManager , ZeroFrame , Fetch , and Muler (all metascripts in the 1-click) could help to simplify that, and the tracking of what people owe could be housed on a character sheet you control (if you were concerned that your players might change the value, or if you didn't want to have to update a bunch of different sheets when the payments came in -- you would update a single field on your mule character). The message that was sent could still use DiscreteWhisper, or it could use any other output (even just a simple roll template). You'd set up a Mule character with a mule (an ability with lines entered in x=y format), where the variables were the character's names. The value of the variable would be what they owe: Bob=$12 Grothar=$6 Elobath=$12 If that ability (mule) was named "MoneyOwed", you could use this: !forselected(^) w --@^(selected.character_name) --Thanks for playing tonight! Remember, this is a pay-for-play session. Please remember to settle what you owe as soon as possible. You owe get^.@^(selected.character_name)/get. --PAYMENT REMINDER --Acknowledge|!w --gm --@^(selected.character_name) acknowledges the payment reminder. --ACKNOWLEDGEMENT {&mule MoneyOwed} {^&mule MoneyOwed} That would present each token's owner with a message regarding what they owed: When they clicked on the button, you would get a message acknowledging that they received the message: I can break down what is going on in the lines if you want to understand more ways to customize the messages.
thanks!
1627689198
timmaugh
Forum Champion
API Scripter
Oh, and if you don't want to have to physically select the tokens, you can use Select Manager's {&select} statement to virtually select them. Just add something like this to the end of the command line: {& select Bob, Grothar, Elonath} Where you include a token for each one of your pain customers. And then those will be the tokens over which you iterate your command. So with it set up that way, you don't even have to change the plane environment, you just click your button and the messages sent.