Mercurial > prosody-wiki
comparison mod_motd_sequential.wiki @ 453:85a5df9cc05f
mod_motd_sequential: add page
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Apr 2014 03:41:43 +0200 |
parents | |
children | fa33da93a246 |
comparison
equal
deleted
inserted
replaced
452:416ec6673229 | 453:85a5df9cc05f |
---|---|
1 #summary Sequential MOTD messages | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 mod_motd_sequential is a variant of | |
7 [https://prosody.im/doc/modules/mod_motd mod_motd] that lets you specify | |
8 a sequence of MOTD messages instead of a single static one. Each message | |
9 is only sent once and the module keeps track of who as seen which message. | |
10 | |
11 = Configuration = | |
12 | |
13 {{{ | |
14 | |
15 modules_enabled = { | |
16 -- other modules | |
17 "motd_sequential"; | |
18 } | |
19 motd_sequential_messages = { | |
20 "Hello and welcome to our service!", -- First login | |
21 "Lorem ipsum dolor sit amet", -- Second time they login | |
22 -- Add more messages here. | |
23 } | |
24 | |
25 }}} | |
26 |