Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Script:Message of the Day

From Roll20 Wiki

Jump to: navigation, search


Main Page: API:Script Index


API ScriptAuthor: Aaron C. M.
Version: 2.12
Last Modified: 2019-12-01
Code: MotD
Dependencies: None
Conflicts: None

Greets players that log in with the contents of a particular note.

MotD is a simple script that creates a handout named MotD Note. When a player logs in, it whispers the contents of that note to the player. Any formatting that works in the Note is passed on to the player. You can use %%NAME%% as a placeholder for the name of the player.

Commands

!motd [--help | --all | --PLAYER NAME ...]

  • --help -- Shows the Help screen
  • --all -- Show the Message of the Day to all logged in players (including GM).
  • --PLAYER NAME -- Player who should be shown the Message of the Day. Matches are case-insensitive and will match partial names. You can have multiple of this argument to show to multiple players.

In the absense of any arguments, will show the Message of the Day to the current player.

Show the Message of the day to the player named "Bob the Slayer":

!motd --Bob the Slayer

Show the Message of the day to all the players with "ka" in their name

!motd --ka

Show the Message of the day to all the logged in players.

!motd --all

The Player Interactions section of the help will show when each player was last seen by MotD and when they were last shown the message of the day text.


Changelog

v2.12 (2019-12-01)

  • update


v0.1 (2015-02-01)

  • Release