diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-09 11:07:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-09 11:07:45 -0300 |
commit | 807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc (patch) | |
tree | 9c60512a6185d39de927938f6e6b4d83ad3321cb | |
parent | 86863e392ccad7c6cd6a74ac99116d0f16371521 (diff) | |
download | serverdata-807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc.tar.gz serverdata-807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc.tar.bz2 serverdata-807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc.tar.xz serverdata-807ae6da0af9841f28d6d09e87b4e5b1c1ebedcc.zip |
@scoreboard or @scoreboards - quick access to scoreboards; Anywhere in the world.
-rw-r--r-- | npc/functions/scoreboards.txt | 98 |
1 files changed, 98 insertions, 0 deletions
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; +} + |