summaryrefslogtreecommitdiff
path: root/doc/sample/npc_rodex.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-25 20:40:00 +0200
committerGitHub <noreply@github.com>2018-06-25 20:40:00 +0200
commit9694bd186896b75ba74f86e6d6c169d0ee97062c (patch)
treea13ac81dc8dbd00428aadb791440fb2316f95f0a /doc/sample/npc_rodex.txt
parent9b0ab441ebc1a69df627c4b665f02ab28d995020 (diff)
parenta69f1ef5d09b66abdc8e9fe20c197414175b6b27 (diff)
downloadhercules-9694bd186896b75ba74f86e6d6c169d0ee97062c.tar.gz
hercules-9694bd186896b75ba74f86e6d6c169d0ee97062c.tar.bz2
hercules-9694bd186896b75ba74f86e6d6c169d0ee97062c.tar.xz
hercules-9694bd186896b75ba74f86e6d6c169d0ee97062c.zip
Merge pull request #2075 from guilherme-gm/rodex-script
Fixed rodex_sendmail_acc script command and rodex examples
Diffstat (limited to 'doc/sample/npc_rodex.txt')
-rw-r--r--doc/sample/npc_rodex.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sample/npc_rodex.txt b/doc/sample/npc_rodex.txt
index a808a1aa9..0975e609c 100644
--- a/doc/sample/npc_rodex.txt
+++ b/doc/sample/npc_rodex.txt
@@ -20,12 +20,12 @@ prontera,150,150,4 script Rodex Mail 1_M_01,{
// Sends a messsage to attached player "Account Box" from "Rodex Test", with title "Rodex Test3",
// with message "Hello World, How are You?", 1000 Zenies and 5 Red Potions attached
rodex_sendmail_acc(
- getcharid(CHAR_ID_CHAR), "Rodex Test", "Rodex Test3", "Hello World, How are You?",
+ getcharid(CHAR_ID_ACCOUNT), "Rodex Test", "Rodex Test3", "Hello World, How are You?",
1000,
Red_Potion, 5
);
- // Sends a messsage to attached player "Account Box" from "Rodex Test", with title "Rodex Test6",
+ // Sends a messsage to attached player from "Rodex Test", with title "Rodex Test6",
// with message "Hello World, How are You?", 1000 Zenies, 5 Red Potions and
// 1 +10 Knife[3] with 3 Poring Cards (Broken)
rodex_sendmail2(