summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-29 00:32:30 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-29 00:32:30 -0300
commit5f8c48b10bf82ba5a1339797392b66e06a93bafb (patch)
tree63dddcdf2a65aa5abad6aac8c8459eb8ddf8fe85 /npc/003-1
parent16068f480fd391a1a1f524538a4ed4cf59d49f7a (diff)
downloadserverdata-5f8c48b10bf82ba5a1339797392b66e06a93bafb.tar.gz
serverdata-5f8c48b10bf82ba5a1339797392b66e06a93bafb.tar.bz2
serverdata-5f8c48b10bf82ba5a1339797392b66e06a93bafb.tar.xz
serverdata-5f8c48b10bf82ba5a1339797392b66e06a93bafb.zip
Welcome Message, fix 003-1 Demure code
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/events.txt21
1 files changed, 10 insertions, 11 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index 5abc40577..d566d5bd1 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -98,19 +98,18 @@ OnInit:
mesq l("Valentine Day is over!");
if (#VALENTINE_SENT+#VALENTINE_OPENED <= 0)
close;
- .@nb = query_sql("SELECT c.name, i.value FROM `acc_reg_num_db` AS i, `char` AS c WHERE i.key='#VALENTINE_POINTS' AND i.account_id=c.account_id AND c.char_num='0' ORDER BY i.value DESC LIMIT 10", .@name$, .@value);
mes "##B"+l("Top 10 - Valentine Day")+"##b";
- mes("1." +.@name$[0]+" ("+.@value[0]+")");
- mes("2." +.@name$[1]+" ("+.@value[1]+")");
- mes("3." +.@name$[2]+" ("+.@value[2]+")");
- mes("4." +.@name$[3]+" ("+.@value[3]+")");
- mes("5." +.@name$[4]+" ("+.@value[4]+")");
- mes("6." +.@name$[5]+" ("+.@value[5]+")");
- mes("7." +.@name$[6]+" ("+.@value[6]+")");
- mes("8." +.@name$[7]+" ("+.@value[7]+")");
- mes("9." +.@name$[8]+" ("+.@value[8]+")");
- mes("10."+.@name$[9]+" ("+.@value[9]+")");
+ mes("1." +$@valentine_name$[0]+" ("+$@valentine_value[0]+")");
+ mes("2." +$@valentine_name$[1]+" ("+$@valentine_value[1]+")");
+ mes("3." +$@valentine_name$[2]+" ("+$@valentine_value[2]+")");
+ mes("4." +$@valentine_name$[3]+" ("+$@valentine_value[3]+")");
+ mes("5." +$@valentine_name$[4]+" ("+$@valentine_value[4]+")");
+ mes("6." +$@valentine_name$[5]+" ("+$@valentine_value[5]+")");
+ mes("7." +$@valentine_name$[6]+" ("+$@valentine_value[6]+")");
+ mes("8." +$@valentine_name$[7]+" ("+$@valentine_value[7]+")");
+ mes("9." +$@valentine_name$[8]+" ("+$@valentine_value[8]+")");
+ mes("10."+$@valentine_name$[9]+" ("+$@valentine_value[9]+")");
next;
#VALENTINE_SENT=0;
#VALENTINE_OPENED=0;