ID:269914
 
I was wondeing how would i make a system type thing that is like email you can check in game for example a first time player logs in and it send him a email type thing to his email box and you can ckeck it through a verb
It would be best with datums.

Email
var
sender //who sent it?
receipient //who gets it?
mes //message
file/attachment //maybe have an attachment
proc
Send()
Attach()
Return()

mob/var/Email/list/mailbox //where the emails go


Hope this helps.
In response to Dark Weasel
Or, you could just give a player a list that will contain all pending email messages. What I would do for ultimate control would be to create an multidimensional associative list. A player would type in a key, add it to the list if it wasn't found, and leave a list of messages.