|
Crossfire Server, Trunk
1.75.0
|
Variables | |
| activator = Crossfire.WhoIsActivator() | |
| elements = mail.receive(activator.Name) | |
| fromname | |
| mail = CFMail.CFMail() | |
| message | |
| Message | |
| msgob = whoami.CreateObject('scroll') | |
| Name | |
| NamePl | |
| total = mail.countmail(activator.Name) | |
| type | |
| Value | |
| whoami = Crossfire.WhoAmI() | |
Created by: Joris Bontje <jbontje@suespammers.org> This script implements the apply event for mailboxes. When a mailbox is opened, check the player's mail and create objects if necessary.
| receive.activator = Crossfire.WhoIsActivator() |
Definition at line 11 of file receive.py.
| receive.elements = mail.receive(activator.Name) |
Definition at line 19 of file receive.py.
| receive.fromname |
Definition at line 21 of file receive.py.
| receive.mail = CFMail.CFMail() |
Definition at line 12 of file receive.py.
| receive.message |
Definition at line 21 of file receive.py.
| receive.Message |
Definition at line 26 of file receive.py.
Referenced by manor.blue_check(), sunnista.do_absorb(), and sell_punisher.handle_sell().
| receive.msgob = whoami.CreateObject('scroll') |
Definition at line 23 of file receive.py.
| receive.Name |
Definition at line 24 of file receive.py.
| receive.NamePl |
Definition at line 25 of file receive.py.
| receive.total = mail.countmail(activator.Name) |
Definition at line 15 of file receive.py.
| receive.type |
Definition at line 21 of file receive.py.
| receive.Value |
Definition at line 27 of file receive.py.
| receive.whoami = Crossfire.WhoAmI() |
Definition at line 13 of file receive.py.