summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-20 11:22:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-20 11:22:02 -0300
commit39bfb24ed7396d8d4be284b21c9bbe385825f56e (patch)
treebabf67778744455f8f5231043d132d17fd07db66 /npc/commands
parent4381a0d925cc27a3ead43bca27d019b626bfc4a4 (diff)
downloadserverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.gz
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.bz2
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.tar.xz
serverdata-39bfb24ed7396d8d4be284b21c9bbe385825f56e.zip
Format number of Guild XP to be easier to read
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 503d9f27b..746c83da5 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -70,9 +70,9 @@ function script UserCtrlPanel {
mesc (".:: "+getguildname(.@gid)+" ::."), 1;
mesc l("Guild Master: @@", getguildmaster(.@gid)), 3;
if (getguildnxp(.@gid) > 0)
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), getguildnxp(.@gid));
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), format_number(getguildexp(.@gid)), format_number(getguildnxp(.@gid)));
else
- mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), "???");
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", format_number(getguildlvl(.@gid)), getguildexp(.@gid), "???");
mes "";
mesc l("Average player level: @@", getguildavg(.@gid));