Current version: 0.1
Sends users login message and hub rules.
Open plugins.conf in your favourite text editor and add this line:
plugin /usr/lib/uhub/mod_welcome.so "motd=/etc/uhub/motd.txt rules=/etc/uhub/rules.txt"
| Parameter | Description |
|---|---|
| motd | Path/filename for the welcome message (message of the day). |
| rules | Path/filenam for the rules file. |
| Command | Description |
|---|---|
| !motd | Message of the day. |
| !rules | Show hub rules. |
The messages can do the following substitutions:
| Substitution | Description |
|---|---|
| %n | Nickname of the user who entered the hub or issued the command. |
| %a | IP address of the user. |
| %c | The credentials of the user (guest, user, op, super, admin). |
| %% | Becomes '%' |
| %H | Hour 24-hour format (00-23) (Hub local time) |
| %I | Hour 12-hour format (01-12) (Hub local time) |
| %P | 'AM' or 'PM' |
| %p | 'am' or 'pm' |
| %M | Minutes (00-59) (Hub local time) |
| %S | Seconds (00-60) (Hub local time) |