summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-1/michel.txt12
-rw-r--r--npc/003-1/swezanne.txt8
2 files changed, 11 insertions, 9 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;
diff --git a/npc/003-1/swezanne.txt b/npc/003-1/swezanne.txt
index 7d1adb984..306056b84 100644
--- a/npc/003-1/swezanne.txt
+++ b/npc/003-1/swezanne.txt
@@ -27,14 +27,6 @@ L_Heroics:
else if (.@d == 6) .@deed$="impressed even the High Council!";
else .@deed$="is awesome like me!"; // Should not happen
- /*.@nb = query_sql("select name, fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame);
- mes("Hall Of Fame: TOP5");
- mes("1."+.@name$[0]+"("+.@fame[0]+")"); // Will return a person with the biggest fame value.
- mes("2."+.@name$[1]+"("+.@fame[1]+")");
- mes("3."+.@name$[2]+"("+.@fame[2]+")");
- mes("4."+.@name$[3]+"("+.@fame[3]+")");
- mes("5."+.@name$[4]+"("+.@fame[4]+")");*/
-
mesq l("I hope to one day be like @@, who @@", $MOST_HEROIC$, .@deed$);
close;