diff options
author | jesusalva <cpntb1@ymail.com> | 2018-03-09 06:56:23 -0300 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-03-09 06:56:23 -0300 |
commit | 5c41a121d6ea6ced4212fa05a9ecfc0032830d6e (patch) | |
tree | b4db6a2b4366a56b103a1e2f2c0f76e1748d121e /npc/003-1 | |
parent | 1af31c717bee94b110355c835f62e6a33d359668 (diff) | |
download | serverdata-5c41a121d6ea6ced4212fa05a9ecfc0032830d6e.tar.gz serverdata-5c41a121d6ea6ced4212fa05a9ecfc0032830d6e.tar.bz2 serverdata-5c41a121d6ea6ced4212fa05a9ecfc0032830d6e.tar.xz serverdata-5c41a121d6ea6ced4212fa05a9ecfc0032830d6e.zip |
Minor enhancement to Michel
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/michel.txt | 14 |
1 files changed, 11 insertions, 3 deletions
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 ""; |