summaryrefslogtreecommitdiff
path: root/npc/003-1/michel.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-23 13:38:38 -0300
committerjesusalva <cpntb1@ymail.com>2018-02-23 13:38:38 -0300
commit6bfa33bb2d7e01ff351488510d96f14dcde08eb5 (patch)
tree3fa82fc076bcc22d087b8df459ba1af63f19e56d /npc/003-1/michel.txt
parentc5670ed0c4605a3c6a60d72be14c7df994ff8b04 (diff)
downloadserverdata-6bfa33bb2d7e01ff351488510d96f14dcde08eb5.tar.gz
serverdata-6bfa33bb2d7e01ff351488510d96f14dcde08eb5.tar.bz2
serverdata-6bfa33bb2d7e01ff351488510d96f14dcde08eb5.tar.xz
serverdata-6bfa33bb2d7e01ff351488510d96f14dcde08eb5.zip
Michel is so useless at the moment, so now he'll return a Hall Of Fame.
Using a statue would be smarter, but I need sprites for that.
Diffstat (limited to 'npc/003-1/michel.txt')
-rw-r--r--npc/003-1/michel.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt
index 1a810b3e2..a4a6c9464 100644
--- a/npc/003-1/michel.txt
+++ b/npc/003-1/michel.txt
@@ -3,8 +3,18 @@
003-1,89,109,0 script Michel NPC_BACCHUS,{
+ mesn;
+ mesq l("All hail the ones who proven their worth to the High Council!");
+ mes "";
-hello;
+ .@nb = query_sql("select name, fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame);
+ mes l("##BHall Of Fame: TOP5##b");
+ mes l("1."+.@name$[0]+"("+.@fame[0]+")");
+ mes l("2."+.@name$[1]+"("+.@fame[1]+")");
+ mes l("3."+.@name$[2]+"("+.@fame[2]+")");
+ mes l("4."+.@name$[3]+"("+.@fame[3]+")");
+ mes l("5."+.@name$[4]+"("+.@fame[4]+")");
+ close;
OnInit:
.sex = G_MALE;