From 544da439e81ff78ec102b754e16b6cc0a28a6d0a Mon Sep 17 00:00:00 2001 From: KirieZ Date: Sun, 30 Jul 2017 13:45:41 -0300 Subject: Implementation of RoDEX --- doc/script_commands.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 9148e023c..779cd271c 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -8908,6 +8908,29 @@ Directions are the same as NPC sprite facing directions: (DIR_ constants). This will open a book item at the specified page. +--------------------------------------- + +*rodex_sendmail(, "", "", "<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 -- cgit v1.2.3-60-g2f50