From 5c41a121d6ea6ced4212fa05a9ecfc0032830d6e Mon Sep 17 00:00:00 2001 From: jesusalva Date: Fri, 9 Mar 2018 06:56:23 -0300 Subject: Minor enhancement to Michel --- npc/003-1/michel.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt index 7bbfaef49..48fdc696d 100644 --- a/npc/003-1/michel.txt +++ b/npc/003-1/michel.txt @@ -1,5 +1,8 @@ +// TMW-2 Script // Author: -// Saulc +// Jesusalva +// Description: +// Leaderboards + GM Command Log 003-1,89,109,0 script Michel NPC_BACCHUS,{ @@ -39,16 +42,21 @@ if (!getgmlevel()) close; mes ""; - .@nb = query_sql("select char_name, command from `atcommandlog` ORDER BY atcommand_id DESC LIMIT 5", .@name$, .@value$); + .@nb = query_sql("select char_name, command from `atcommandlog` ORDER BY atcommand_id DESC LIMIT 10", .@name$, .@value$); mes l("##BLatest GM Commands##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]+")"); - next; + 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]+")"); if (getgmlevel() < 99) close; + next; if (getgmlevel()) mes "##BGM Information##b"; if (getgmlevel()) mes "We are currently relying in Karma to generate this Hall Of Fame."; if (getgmlevel()) mes ""; -- cgit v1.2.3-70-g09d2