From 807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 9 Oct 2019 11:07:45 -0300 Subject: @scoreboard or @scoreboards - quick access to scoreboards; Anywhere in the world. --- npc/functions/scoreboards.txt | 98 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 92cfd38dc..cdfe50a22 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -393,3 +393,101 @@ function script HallOf2019 { return; } +- script @scoreboard NPC_HIDDEN,{ + end; + +OnCall: + do { + HallOfSponsor(true); + mes ""; + select + l("Hall of Sponsors"), + l("Hall Of Fortune"), + l("Hall Of Base Level"), + l("Hall Of Job Level"), + l("Hall Of Strange Coins"), + l("Hall Of GM Commands"), + l("Hall Of Guilds"), + l("Hall Of Crazyfefe Battle"), + l("Hall Of Doppelganger Arena"), + rif(season() == SUMMER || season() == AUTUMN, l("Hall Of Ched")), + l("Hall Of Fame"), + l("2018 Event Winners"), + l("2019 Event Winners"), + l("Quit"); + mes ""; + switch (@menu) { + case 1: + HallOfSponsor(); + next; + break; + case 2: + HallOfFortune(); + next; + break; + case 3: + HallOfLevel(); + next; + break; + case 4: + HallOfJob(); + next; + break; + case 5: + HallOfCoins(); + next; + break; + case 6: + HallOfGMLog(); + next; + break; + case 7: + HallOfGuild(); + next; + break; + case 8: + HallOfCandor(); + next; + break; + case 9: + HallOfUDT(); + next; + break; + case 10: + mes b(l("Top 10 - Summer Ched's Event")); + mes("1."+$@ched_name$[0]+" ("+$@ched_value[0]+")"); + mes("2."+$@ched_name$[1]+" ("+$@ched_value[1]+")"); + mes("3."+$@ched_name$[2]+" ("+$@ched_value[2]+")"); + mes("4."+$@ched_name$[3]+" ("+$@ched_value[3]+")"); + mes("5."+$@ched_name$[4]+" ("+$@ched_value[4]+")"); + mes("6."+$@ched_name$[5]+" ("+$@ched_value[5]+")"); + mes("7."+$@ched_name$[6]+" ("+$@ched_value[6]+")"); + mes("8."+$@ched_name$[7]+" ("+$@ched_value[7]+")"); + mes("9."+$@ched_name$[8]+" ("+$@ched_value[8]+")"); + mes("10."+$@ched_name$[9]+" ("+$@ched_value[9]+")"); + next; + break; + case 11: + mes l("Hero: ")+$MOST_HEROIC$; + next; + break; + case 12: + HallOf2018(); + next; + break; + case 13: + HallOf2019(); + next; + break; + default: + end; + } + } while (true); + end; + +OnInit: + bindatcmd "scoreboard", "@scoreboard::OnCall", 0, 100, 0; + bindatcmd "scoreboards", "@scoreboard::OnCall", 0, 100, 0; + end; +} + -- cgit v1.2.3-70-g09d2