Author Topic: simple mailing script  (Read 316 times)

Legacy_archer4217

  • Full Member
  • ***
  • Posts: 206
  • Karma: +0/-0
simple mailing script
« on: May 31, 2012, 11:52:24 pm »


               Hi all,

I would like characters to be able to send mail to each other on my PW. I found a mailing system called Flash Mail, but I don't like how it has you choose who to send mail to by a player's login account and then shows all the characters on that account. I don't think people should be allowed to know all the characters a player has.
So, I was wondering if anyone knows of a simple mailing system that would work well in a PW that uses only the regular database.
Heck, I'd even settle for being able to write a note and dropping it into a box that only the recipient can open..hehe.

Thanks much,
*hugs*'<img'>
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
simple mailing script
« Reply #1 on: June 01, 2012, 10:59:15 pm »


               

archer4217 wrote...

Hi all,

I would like characters to be able to send mail to each other on my PW. I found a mailing system called Flash Mail, but I don't like how it has you choose who to send mail to by a player's login account and then shows all the characters on that account. I don't think people should be allowed to know all the characters a player has.
So, I was wondering if anyone knows of a simple mailing system that would work well in a PW that uses only the regular database.
Heck, I'd even settle for being able to write a note and dropping it into a box that only the recipient can open..hehe.

Thanks much,
*hugs*'<img'>


I not sure how Flash Mail works.  One way of keeping messages private (if they are sent when a player is logged in) is to have a letter item in the PCs inventory.  Add the message to the identified description, and unidentify the letter item (the unidentified description should read as something like "You got new mail").  Also include a unique-power property on the letter item for deleting the description (should the player wish to remove the clutter). 
A database can be used to store up messages if the player is absent from the server which will unload the messages onto the letter item when the player logs in.