diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/commands/event.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r-- | npc/commands/event.txt | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt deleted file mode 100644 index 3f0d61de..00000000 --- a/npc/commands/event.txt +++ /dev/null @@ -1,57 +0,0 @@ -function script GlobalEventMenu { - - function rateManagement { - clear; - mes l("To get the current rate:"); - mes col(" @exprate", 7); - next; - mes l("To set the exp rate:"); - mes col(" @exprate ##Brate##b hours", 7); - next; - mes l("To reset back to normal:"); - mes col(" @exprate default", 7); // note to translators: any non-numerical value will reset so "default" is safe to translate - next; - return; - } - - do - { - clear; - setnpcdialogtitle l("Event Management"); - mes l("This menu allows you to manage events and gives access to event-related tools."); - mes ""; - mes l("What do you want to access?"); - - select - l("Rate management"), - rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))); - - //.@c = getarg(0,0) ? 2 : 1; // 1 = back to event menu, 2 = back to super menu - - switch (@menu) - { - case 1: rateManagement; break; - default: return; - } - - } while (true); -} - - - -- script @event 32767,{ - end; - -OnCall: - if (!is_evtc()) - { - end; - } - - GlobalEventMenu; - closeclientdialog; - end; - -OnInit: - bindatcmd "event", "@event::OnCall", 0, 99, 0; -} |