From fcc5055e7ad959fd20f6aac03739596468c05115 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 20 Jul 2019 04:50:13 -0300 Subject: Lua/TS - You can now change official nickname and remove contributor rewards --- npc/003-2/lua.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt index 696261e2d..a4ef87f1e 100644 --- a/npc/003-2/lua.txt +++ b/npc/003-2/lua.txt @@ -25,13 +25,31 @@ L_Menu: rif(is_staff(), l("Tell people the name of a new hero.")), L_NewHero, rif((getgmlevel() == 1 || is_admin()) && #T_SPONSOR <= gettimetick(2), l("I want a Sponsor Necklace.")), L_Sponsor, l("Do you have any tips for beginners?"), L_Tips, - l("I am a contributor, and I want contributor stuff."), L_Contributor, + //l("I am a contributor, and I want contributor stuff."), L_Contributor, + l("I would like to change my ML rewards account"), L_TestServer, l("What alliance?"),-; mes ""; mesn; mesq l("The Alliance which was formed after the war!"); close; +L_TestServer: + mesn "TMW 2 Staff"; + mesc l("Before we start, to be eligible for rewards, please insert your CHARACTER NAME on Live Server."), 1; + mesc l("Your current official server account: ")+strip(OFFICIAL_NICKNAME$); + next; + mesc l("Change it?"); + if (askyesno() == ASK_NO) + close; + mesc l("You can leave it blank if you wish no reward."), 1; + mesc l("This can be changed later, don't worry."), 1; + mesc l("(Click next button to advance dialogs)"), 3; + next; + input OFFICIAL_NICKNAME$; + next; + mesc l("Your current official server account: ")+strip(OFFICIAL_NICKNAME$); + close; + L_GMItems: getitembound GMRobe, 1, 1; getitembound GMCap, 1, 1; -- cgit v1.2.3-70-g09d2