From 72f57db95e109f70e8c51ae5fdfc079f083f29a4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 26 Dec 2021 20:51:47 -0300 Subject: For Moubootaur Legends users, I can do this manually --- npc/081-1/extra.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/npc/081-1/extra.txt b/npc/081-1/extra.txt index 01e6438c..65b49f28 100644 --- a/npc/081-1/extra.txt +++ b/npc/081-1/extra.txt @@ -224,8 +224,25 @@ L_Auto: } end; +OnPort: + if (XMAS2021 & 32) end; + mes l("To port your event results to ##BMoubootaur Legends##b"); + mes l("Please fill below your ##Bchar name##b on ML."); + next; + input .@nick$; + if (.@nick$ == "") { closeclientdialog; close; } + clear; + mes l("Port your event results to: %s", col(b(.@nick$), 3)); + mesc l("Is this correct?"), 1; + if (askyesno() == ASK_NO) { closeclientdialog; close; } + .@msg$=sprintf("[\"events@moubootaurlegends.org\", \"User %s has requested event result porting to Moubootaur Legends.\n\nDestination: %s\nAID: %d\nCID: %d\n\n-- The Mana World Team\", \"Christmas 2021 Event Results\"]", strcharinfo(0), .@nick$, getcharid(3), getcharid(0)); + api_send(501, .@msg$); + XMAS2021 = XMAS2021 | 32; + close; + OnInit: .distance=1; + bindatcmd "mouboo", "#X21ADMIN::OnPort", 0, 100, 1; end; } -- cgit v1.2.3-60-g2f50