| 1 |
! $eterna: mail,v 1.7 2018/06/10 08:17:42 mrg Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2018 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP IRCII COPYRIGHT file for more |
| 7 |
! information. |
| 8 |
! |
| 9 |
Usage: ON [#|+|-|^|&|@]MAIL [-|^]<count> [action] |
| 10 |
This is activated whenever you receive new mail (non-irc mail) |
| 11 |
or when you start up irc and you have mail. You can use this |
| 12 |
to replace the standard "*** You have new mail" banner with |
| 13 |
anything you like. The parameters for this function are: |
| 14 |
$0 The number of new mail messages |
| 15 |
$1 Total number of mail messages |
| 16 |
On startup, new mail messages will be all messages found. |
| 17 |
After that, for example if you had 2 messages and a new |
| 18 |
message came in, new messages would be 1. Here are a few |
| 19 |
examples of how to use this: |
| 20 |
ON ^MAIL 1 /echo *** You have $0 new mail message, total of $1 |
| 21 |
ON ^MAIL * /echo *** You have $0 new mail messages, total of $1 |
| 22 |
These will display the number of new messages that arrive. |
| 23 |
Here is another example: |
| 24 |
ON ^MAIL * /comment |
| 25 |
This will disable the display of any message when you have |
| 26 |
mail. Setting the MAIL variable to OFF will also have this |
| 27 |
effect, but this will also disable the total mail messages |
| 28 |
count in the status line. |