summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-10 21:30:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-10 21:30:44 +0300
commit15eb5c25b7cb81a28da9f559a2ab7fd2154bd71d (patch)
treeef78576321b316e006d4de3b223f1ce56bc96604 /server
parent057a26b5808a31265ff95c10226f9f74a86a7b2d (diff)
downloaddocs-15eb5c25b7cb81a28da9f559a2ab7fd2154bd71d.tar.gz
docs-15eb5c25b7cb81a28da9f559a2ab7fd2154bd71d.tar.bz2
docs-15eb5c25b7cb81a28da9f559a2ab7fd2154bd71d.tar.xz
docs-15eb5c25b7cb81a28da9f559a2ab7fd2154bd71d.zip
Update script docs from hercules.s20170918
Diffstat (limited to 'server')
-rw-r--r--server/scripts/script_commands.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/server/scripts/script_commands.txt b/server/scripts/script_commands.txt
index 9148e02..779cd27 100644
--- a/server/scripts/script_commands.txt
+++ b/server/scripts/script_commands.txt
@@ -8909,6 +8909,29 @@ Directions are the same as NPC sprite facing directions: (DIR_ constants).
This will open a book item at the specified page.
---------------------------------------
+
+*rodex_sendmail(<char id>, "<sender name>", "<title>", "<body>"{, <zeny>{, <item1>, <amount1>{, <item2>, <amount2>{, <item3>, <amount3>{, <item4>, <amount4>{, <item5>, <amount5>}}}}}})
+*rodex_sendmail_acc(<account id>, "<sender name>", "<title>", "<body>"{, <zeny>{, <item1>, <amount1>{, <item2>, <amount2>{, <item3>, <amount3>{, <item4>, <amount4>{, <item5>, <amount5>}}}}}})
+
+This will send a mail using the RoDEX mail system, in newer clients the message will be marked as a NPC mail (that you can't reply).
+If items and zeny are specified, they will be added as attachments to the message.
+
+For examples of usage, see /doc/sample/npc_rodex.txt
+
+---------------------------------------
+
+*rodex_sendmail2(<char id>, "<sender name>", "<title>", "<body>"{, <zeny>{, <item1>, <amount1>, <refine1>, <attribute1>, <card0_1>, <card1_1>, <card2_1>, <card3_1>{,<item2>, <amount2>, <refine2>, <attribute2>, <card0_2>, <card1_2>, <card2_2>, <card3_2>{,<item3>, <amount3>, <refine3>, <attribute3>, <card0_3>, <card1_3>, <card2_3>, <card3_3>{,<item4>, <amount4>, <refine4>, <attribute4>, <card0_4>, <card1_4>, <card2_4>, <card3_4>{,<item5>, <amount5>, <refine5>, <attribute5>, <card0_5>, <card1_5>, <card2_5>, <card3_5>}}}}}})
+*rodex_sendmail_acc2(<account id>, "<sender name>", "<title>", "<body>"{, <zeny>{, <item1>, <amount1>, <refine1>, <attribute1>, <card0_1>, <card1_1>, <card2_1>, <card3_1>{,<item2>, <amount2>, <refine2>, <attribute2>, <card0_2>, <card1_2>, <card2_2>, <card3_2>{,<item3>, <amount3>, <refine3>, <attribute3>, <card0_3>, <card1_3>, <card2_3>, <card3_3>{,<item4>, <amount4>, <refine4>, <attribute4>, <card0_4>, <card1_4>, <card2_4>, <card3_4>{,<item5>, <amount5>, <refine5>, <attribute5>, <card0_5>, <card1_5>, <card2_5>, <card3_5>}}}}}})
+
+These are more flexible versions of rodex_sendmail and rodex_sendmail_acc.
+
+This will send a mail using the RoDEX mail system, in newer clients the message will be marked as a NPC mail (that you can't reply).
+If items and zeny are specified, they will be added as attachments to the message.
+Check getitem2 command for more information of the extra parameters.
+
+For examples of usage, see /doc/sample/npc_rodex.txt
+
+---------------------------------------
//=====================================
7 - Instance-Related Commands
//=====================================