453
|
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 |