From c355707e7d84a2ba8a332be5bfe95f8554f17bab Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Thu, 25 Jun 2020 07:17:45 -0300
Subject: Alias are good to save space

---
 npc/functions/scoreboards.txt | 56 +++++++++++++++++++++----------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

(limited to 'npc')

diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index fb5f76130..cd665674f 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -125,21 +125,21 @@ function	script	HallOfFame	{
 function	script	HallOfFortune	{
     mes "";
 	mes l("##BHall Of Fortune: TOP15##b");
-	mesf("1. %s (%s GP)", $@hofortune_name$[0],format_number($@hofortune_value[0]));
-	mesf("2. %s (%s GP)", $@hofortune_name$[1],format_number($@hofortune_value[1]));
-	mesf("3. %s (%s GP)", $@hofortune_name$[2],format_number($@hofortune_value[2]));
-	mesf("4. %s (%s GP)", $@hofortune_name$[3],format_number($@hofortune_value[3]));
-	mesf("5. %s (%s GP)", $@hofortune_name$[4],format_number($@hofortune_value[4]));
-	mesf("6. %s (%s GP)", $@hofortune_name$[5],format_number($@hofortune_value[5]));
-	mesf("7. %s (%s GP)", $@hofortune_name$[6],format_number($@hofortune_value[6]));
-	mesf("8. %s (%s GP)", $@hofortune_name$[7],format_number($@hofortune_value[7]));
-	mesf("9. %s (%s GP)", $@hofortune_name$[8],format_number($@hofortune_value[8]));
-	mesf("10. %s (%s GP)", $@hofortune_name$[9],format_number($@hofortune_value[9]));
-	mesf("11. %s (%s GP)", $@hofortune_name$[10],format_number($@hofortune_value[10]));
-	mesf("12. %s (%s GP)", $@hofortune_name$[11],format_number($@hofortune_value[11]));
-	mesf("13. %s (%s GP)", $@hofortune_name$[12],format_number($@hofortune_value[12]));
-	mesf("14. %s (%s GP)", $@hofortune_name$[13],format_number($@hofortune_value[13]));
-	mesf("15. %s (%s GP)", $@hofortune_name$[14],format_number($@hofortune_value[14]));
+	mesf("1. %s (%s GP)", $@hofortune_name$[0], fnum($@hofortune_value[0]));
+	mesf("2. %s (%s GP)", $@hofortune_name$[1], fnum($@hofortune_value[1]));
+	mesf("3. %s (%s GP)", $@hofortune_name$[2], fnum($@hofortune_value[2]));
+	mesf("4. %s (%s GP)", $@hofortune_name$[3], fnum($@hofortune_value[3]));
+	mesf("5. %s (%s GP)", $@hofortune_name$[4], fnum($@hofortune_value[4]));
+	mesf("6. %s (%s GP)", $@hofortune_name$[5], fnum($@hofortune_value[5]));
+	mesf("7. %s (%s GP)", $@hofortune_name$[6], fnum($@hofortune_value[6]));
+	mesf("8. %s (%s GP)", $@hofortune_name$[7], fnum($@hofortune_value[7]));
+	mesf("9. %s (%s GP)", $@hofortune_name$[8], fnum($@hofortune_value[8]));
+	mesf("10. %s (%s GP)", $@hofortune_name$[9], fnum($@hofortune_value[9]));
+	mesf("11. %s (%s GP)", $@hofortune_name$[10], fnum($@hofortune_value[10]));
+	mesf("12. %s (%s GP)", $@hofortune_name$[11], fnum($@hofortune_value[11]));
+	mesf("13. %s (%s GP)", $@hofortune_name$[12], fnum($@hofortune_value[12]));
+	mesf("14. %s (%s GP)", $@hofortune_name$[13], fnum($@hofortune_value[13]));
+	mesf("15. %s (%s GP)", $@hofortune_name$[14], fnum($@hofortune_value[14]));
     return;
 }
 
@@ -315,16 +315,16 @@ function	script	HallOfReferral	{
 function	script	HallOfAurora	{
     mes "";
 	mes l("##BHall Of Aurora: TOP10##b");
-	mesf("1. %s (%s)",  $@aurora_name$[0], format_number($@aurora_value[0]));
-	mesf("2. %s (%s)",  $@aurora_name$[1], format_number($@aurora_value[1]));
-	mesf("3. %s (%s)",  $@aurora_name$[2], format_number($@aurora_value[2]));
-	mesf("4. %s (%s)",  $@aurora_name$[3], format_number($@aurora_value[3]));
-	mesf("5. %s (%s)",  $@aurora_name$[4], format_number($@aurora_value[4]));
-	mesf("6. %s (%s)",  $@aurora_name$[5], format_number($@aurora_value[5]));
-	mesf("7. %s (%s)",  $@aurora_name$[6], format_number($@aurora_value[6]));
-	mesf("8. %s (%s)",  $@aurora_name$[7], format_number($@aurora_value[7]));
-	mesf("9. %s (%s)",  $@aurora_name$[8], format_number($@aurora_value[8]));
-	mesf("10. %s (%s)", $@aurora_name$[9], format_number($@aurora_value[9]));
+	mesf("1. %s (%s)",  $@aurora_name$[0], fnum($@aurora_value[0]));
+	mesf("2. %s (%s)",  $@aurora_name$[1], fnum($@aurora_value[1]));
+	mesf("3. %s (%s)",  $@aurora_name$[2], fnum($@aurora_value[2]));
+	mesf("4. %s (%s)",  $@aurora_name$[3], fnum($@aurora_value[3]));
+	mesf("5. %s (%s)",  $@aurora_name$[4], fnum($@aurora_value[4]));
+	mesf("6. %s (%s)",  $@aurora_name$[5], fnum($@aurora_value[5]));
+	mesf("7. %s (%s)",  $@aurora_name$[6], fnum($@aurora_value[6]));
+	mesf("8. %s (%s)",  $@aurora_name$[7], fnum($@aurora_value[7]));
+	mesf("9. %s (%s)",  $@aurora_name$[8], fnum($@aurora_value[8]));
+	mesf("10. %s (%s)", $@aurora_name$[9], fnum($@aurora_value[9]));
     return;
 }
 
@@ -366,9 +366,9 @@ function	script	rand_sponsor	{
 // HallOfGame()
 function	script	HallOfGame	{
     mes l("World hero: %s", $MOST_HEROIC$);
-    mes l("Planted Trees: %s", format_number($TREE_PLANTED));
-    mes l("Players Killed in PvP: %s", format_number($PLAYERS_KILLED));
-    mes l("Monsters Killed in PvE: %s", format_number($MONSTERS_KILLED));
+    mes l("Planted Trees: %s", fnum($TREE_PLANTED));
+    mes l("Players Killed in PvP: %s", fnum($PLAYERS_KILLED));
+    mes l("Monsters Killed in PvE: %s", fnum($MONSTERS_KILLED));
     mes "";
     .@s$=(season() == WINTER ? l("Winter") : .@s$);
     .@s$=(season() == AUTUMN ? l("Autumn") : .@s$);
-- 
cgit v1.2.3-70-g09d2