nanakiwurtz Posted February 16, 2014 Posted February 16, 2014 I'd like to request a mailbox command for script. A command that can send an online/offline player some items or zeny, with a syntax like: mailbox <zeny amount>{,<item>,<amount>,<item>,<amount>}; This way, we can use the command to send the zeny/items to event winner, that will work whether the player is online or offline. Possible usage examples are: weekly/monthly ladder, daily event, lottery, lucky draw, instances, battlegrounds, etc... Quote
Euphy Posted February 16, 2014 Posted February 16, 2014 This isn't exactly answering your question, but you can also directly insert mail entries into the SQL table - online users will just have to relog to get the mail. I do this in my WOE controller, if you need an example. Quote
AnnieRuru Posted February 17, 2014 Posted February 17, 2014 (edited) use query_sql if the player is offline http://www.eathena.ws/board/index.php?s=&showtopic=191107&view=findpost&p=1050527 but if you want a notification for online player actually somebody has already written *sendmail before http://rathena.org/board/topic/74969-send-mail-via-scriptcommand/ but that script command operation also not quite safe ... so I also want to write hahaha EDIT: use attachments sendmail_20140217.diff tested with [paste=5dtzwyhu0qnr] I also tested there is no need the mail box full error if using query_sql or this *sendmail script command to send a mail, can always bypass the 30 max inbox limit Edited February 17, 2014 by AnnieRuru 1 Quote
Question
nanakiwurtz
I'd like to request a mailbox command for script.
A command that can send an online/offline player some items or zeny, with a syntax like:
This way, we can use the command to send the zeny/items to event winner, that will work whether the player is online or offline.
Possible usage examples are: weekly/monthly ladder, daily event, lottery, lucky draw, instances, battlegrounds, etc...
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.