summaryrefslogtreecommitdiff
path: root/npc/other/mail.txt
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-01-17 22:23:33 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-01-17 22:23:33 +0800
commit2bf913eebcc0a18057c9012be187585a7afb2f72 (patch)
treec6331085709e12e4fe58a915b05ed648924b4759 /npc/other/mail.txt
parent541c5f69913da208356ef68f556d3cb888d01911 (diff)
parent32ea0d89b449710473aab78d83840d22fccfd5b4 (diff)
downloadhercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.gz
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.bz2
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.tar.xz
hercules-2bf913eebcc0a18057c9012be187585a7afb2f72.zip
Merge remote-tracking branch 'origin/rathena'
Diffstat (limited to 'npc/other/mail.txt')
-rw-r--r--npc/other/mail.txt21
1 files changed, 12 insertions, 9 deletions
diff --git a/npc/other/mail.txt b/npc/other/mail.txt
index 8b236fc76..edd4af17b 100644
--- a/npc/other/mail.txt
+++ b/npc/other/mail.txt
@@ -26,26 +26,29 @@
//============================================================
- script Mailbox#dummy::MailBox -1,{
mes "[Mailbox]";
- mes "To use the mailbox service, you are required";
- mes "to pay 130 zeny.";
+ mes "To use the mailbox service,";
+ mes "you are required to pay 130 zeny.";
mes "Would you like to use the service?";
next;
- mes "[Mailbox]";
- if (select("Yes.:No.") == 1) {
+ switch(select("Yes.:No.")) {
+ case 1:
+ mes "[Mailbox]";
if (Zeny < 130) {
mes "I am sorry, but you do not have enough money.";
- mes "To use the mailbox service, you are required";
- mes "to pay 130 zeny.";
+ mes "To use the mailbox service,";
+ mes "you are required to pay 130 zeny.";
close;
}
mes "Thank you, please come again.";
- set Zeny,(Zeny - 130);
+ set Zeny, Zeny - 130;
close2;
openmail;
end;
+ case 2:
+ mes "[Mailbox]";
+ mes "Thank you, please come again.";
+ close;
}
- mes "Thank you, please come again.";
- close;
}
// Prontera