diff options
-rw-r--r-- | npc/009-2/librarian.txt | 2 | ||||
-rw-r--r-- | npc/commands/ucp.txt | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/npc/009-2/librarian.txt b/npc/009-2/librarian.txt index 695882429..beb92a644 100644 --- a/npc/009-2/librarian.txt +++ b/npc/009-2/librarian.txt @@ -32,7 +32,7 @@ L_Advance: // Already have time assigned if (.@nt) { mesn; - mesq l("Please help us with the bandits on the Canyon, and meanwhile, I'll seek the records for you."); + mesq l("Please help us with the bandits on the Canyon, and meanwhile, I'll seek the records for you. Just @@ more.", FuzzyTime(.@nt)); } mesn strcharinfo(0); mesq l("Hi! Apparently, I came from here and moved at the age of 4, but I had amnesia and can't remember!"); diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 96b9e3857..b0e537c5e 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -48,13 +48,13 @@ function script UserCtrlPanel { if (@query) break; @query=1; - query_sql("SELECT name,last_login,last_map,partner_id FROM `char` WHERE account_id="+getcharid(3)+"' LIMIT 9", .@name$, .@lastlogin$, .@map$, .@married); - for (.@i = 1; .@i < getarraysize(.@name$); .@i++) { - mesn .@name$[i-1]; - mes l("Last Seen: @@", .@lastlogin$[i-1]); - mes l("Last map: @@", .@map$[i-1]); - if (.@married[i-1]) - mes l("Married with @@", gf_charname(.@married[i-1])); + query_sql("SELECT name,last_login,last_map,partner_id FROM `char` WHERE account_id="+getcharid(3)+" LIMIT 9", .@name$, .@lastlogin$, .@map$, .@married); + for (.@i = 1; .@i <= getarraysize(.@name$); .@i++) { + mesn .@name$[.@i-1]; + mes l("Last Seen: @@", FuzzyTime(.@lastlogin$[.@i-1])); + mes l("Last map: @@", .@map$[.@i-1]); + if (.@married[.@i-1]) + mes l("Married with @@", gf_charname(.@married[.@i-1])); mes ""; } next; |