summaryrefslogtreecommitdiff
path: root/npc/functions/scoreboards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-20 22:42:06 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-20 22:42:06 -0300
commita2815a64f68885b085c28b0c8f24302e63a67e65 (patch)
treec4c8996b56aebd9878097c2935b3c85a0753eac0 /npc/functions/scoreboards.txt
parent46af75f95a875c1fe1c3b3418af65da536abe51d (diff)
downloadserverdata-a2815a64f68885b085c28b0c8f24302e63a67e65.tar.gz
serverdata-a2815a64f68885b085c28b0c8f24302e63a67e65.tar.bz2
serverdata-a2815a64f68885b085c28b0c8f24302e63a67e65.tar.xz
serverdata-a2815a64f68885b085c28b0c8f24302e63a67e65.zip
Include stautes (possible final version)
Diffstat (limited to 'npc/functions/scoreboards.txt')
-rw-r--r--npc/functions/scoreboards.txt41
1 files changed, 35 insertions, 6 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index bdc1a554d..2eedbff2a 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -6,35 +6,63 @@
function script HallOfFame {
mes "";
- .@nb = query_sql("select name, karma from `char` ORDER BY karma DESC LIMIT 5", .@name$, .@value);
- mes l("##BHall Of Fame: TOP5##b");
+ .@nb = query_sql("select name, karma from `char` ORDER BY karma DESC LIMIT 10", .@name$, .@value);
+ mes l("##BHall Of Fame: TOP10##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]+")");
+ return;
}
function script HallOfFortune {
mes "";
- .@nb = query_sql("select name, zeny from `char` ORDER BY zeny DESC LIMIT 5", .@name$, .@value);
- mes l("##BHall Of Fortune: TOP5##b");
+ .@nb = query_sql("select name, zeny from `char` ORDER BY zeny DESC LIMIT 15", .@name$, .@value);
+ mes l("##BHall Of Fortune: TOP15##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("11."+.@name$[10]+" ("+.@value[10]+")");
+ mes("12."+.@name$[11]+" ("+.@value[11]+")");
+ mes("13."+.@name$[12]+" ("+.@value[12]+")");
+ mes("14."+.@name$[13]+" ("+.@value[13]+")");
+ mes("15."+.@name$[14]+" ("+.@value[14]+")");
+ return;
}
function script HallOfLevel {
mes "";
- .@nb = query_sql("select name, base_level from `char` WHERE `guild_id`!=1 ORDER BY base_level DESC LIMIT 5", .@name$, .@value);
- mes l("##BHall Of Level: TOP5##b");
+ .@nb = query_sql("select name, base_level from `char` WHERE `guild_id`!=1 ORDER BY base_level DESC LIMIT 15", .@name$, .@value);
+ mes l("##BHall Of Level: TOP15##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("11."+.@name$[10]+" ("+.@value[10]+")");
+ mes("12."+.@name$[11]+" ("+.@value[11]+")");
+ mes("13."+.@name$[12]+" ("+.@value[12]+")");
+ mes("14."+.@name$[13]+" ("+.@value[13]+")");
+ mes("15."+.@name$[14]+" ("+.@value[14]+")");
+ return;
}
function script HallOfGMLog {
@@ -51,4 +79,5 @@ function script HallOfGMLog {
mes("8."+.@name$[7]+" ("+.@value$[7]+")");
mes("9."+.@name$[8]+" ("+.@value$[8]+")");
mes("10."+.@name$[9]+" ("+.@value$[9]+")");
+ return;
}