diff options
-rw-r--r-- | npc/functions/news.txt | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 46bc5e3d2..d2f01ba7b 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -5,26 +5,33 @@ // Server news. function script GameNews { - mes col("You can read the [@@news|server latest news@@], or even the [@@https://tmw2.org/news|older entries@@].", 9); - next; - mes ""; - mes col("Release 2.2 - There Are No Pipelines", 9); - next; - mes ""; - mes col("Unfortunately, Tulimshar guards are dying in the sun. Maybe you could provide them with Water?", 9); - next; - mes col("The NPC responsible for buying raw gemstones from other NPCs has recovered since the last siege.", 9); - mes col("Therefore, raw gemstones prices are once again on the rise.", 9); - next; - mes col("Someone adventurer broke what was previously thought as maximum level, and is now level 31!", 9); - next; - mes col("The Magic Council lift Statues in honor of some people. But its guest hall is in reform!", 9); - next; - mes col("Easter will soon start!", 9); - next; + .@entry=getarg(0, 0); + switch(.@entry) { + case 0: + mes ""; + mes col("Release 2.2 - There Are No Pipelines", 9); + next; + mes ""; + mes col("Unfortunately, Tulimshar guards are dying in the sun. Maybe you could provide them with Water?", 9); + next; + mes col("The NPC responsible for buying raw gemstones from other NPCs has recovered since the last siege.", 9); + mes col("Therefore, raw gemstones prices are once again on the rise.", 9); + next; + mes col("Someone adventurer broke what was previously thought as maximum level, and is now level 31!", 9); + next; + mes col("The Magic Council lift Statues in honor of some people. But its guest hall is in reform!", 9); + next; + mes col("Easter will soon start!", 9); + next; + break; + default: + break; + } + mes col("We want to thank everyone who did this release possible.", 9); mes ""; mes col("Shall you have any inquiry, do not hesit to [@@mailto:admin@tmw2.org|send us an email@@]##b.", 9); + mes col("You can also read the [@@news|server news@@], or even [@@https://tmw2.org/news|older entries@@].", 9); next; return; } |