nanakiwurtz Posted February 16, 2014 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted February 16, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted February 17, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
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...
Link to comment
Share on other sites
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.