diff options
Diffstat (limited to 'npc/functions/news.txt')
-rw-r--r-- | npc/functions/news.txt | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 3a09566bd..4cd772eb5 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -281,35 +281,18 @@ function script Journalman { @menu=0; while (@menu != 1) { - select - l("Thanks for your help!"), - l("Release 7 (Current)"), - l("Release 6"), - l("Release 5"), - l("Release 4"), - l("Release 3"), - l("Release 2"); + menuint + l("Thanks for your help!"), 1, + l("Release 8 (Current)"), 20190110, + l("Release 7"), 20181226, + l("Release 6"), 20180727, + l("Release 5"), 20180630, + l("Release 4"), 20180531, + l("Release 3"), 20180408, + l("Release 2"), 20180323; mes ""; - switch (@menu) { - case 2: - GameNews(20181226); - break; - case 3: - GameNews(20180727); - break; - case 4: - GameNews(20180630); - break; - case 5: - GameNews(20180531); - break; - case 6: - GameNews(20180408); - break; - case 7: - GameNews(20180323); - break; - } + if (@menuret > 1) + GameNews(@menuret); } mesn getarg(0); |