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

Personal tools

Difference between revisions of "Script:Message of the Day"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "{{script overview |name=MotD |author={{user profile|104025|Aaron C. M.}} |version=0.1 |lastmodified=2015-02-01}} {{stub}} Greets players that log in with the contents of a pa...")
 
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
{{revdate}}{{stub}}
 +
{{main|API:Script Index}}
 +
 +
 
{{script overview
 
{{script overview
 
|name=MotD
 
|name=MotD
 
|author={{user profile|104025|Aaron C. M.}}
 
|author={{user profile|104025|Aaron C. M.}}
|version=0.1
+
|version=2.12
|lastmodified=2015-02-01}}
+
|lastmodified=2019-12-01}}
{{stub}}
+
 
+
 
Greets players that log in with the contents of a particular note.
 
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 <code>%%NAME%%</code> as a placeholder for the name of the player.
 +
 +
==Commands==
 +
<code>!motd [--help | --all | --PLAYER NAME ...]</code>
 +
 +
* '''--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":
 +
 +
<code>!motd --Bob the Slayer</code>
 +
 +
Show the Message of the day to all the players with "ka" in their name
 +
 +
<code>!motd --ka</code>
 +
 +
Show the Message of the day to all the logged in players.
 +
 +
<code>!motd --all</code>
 +
 +
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.
 +
 
<br clear="all">
 
<br clear="all">
  
=== Changelog ===
+
== Changelog ==
 +
{{changelog version|2.12|2019-12-01|* update}}
 
{{changelog version|0.1|2015-02-01|* Release}}
 
{{changelog version|0.1|2015-02-01|* Release}}

Latest revision as of 13:44, 11 October 2021


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.

[edit] 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.


[edit] Changelog

v2.12 (2019-12-01)

  • update


v0.1 (2015-02-01)

  • Release