summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
blob: a01162e263ce3dfc0a094c26c3b484ac81b3cd19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
function	script	GlobalEventMenu	{
    clear;
    setnpcdialogtitle l("Event Management");
    mes l("This menu allows you to manage events and gives access to event-related tools.");
    mes "";
    mes l("There is no event available right now.");

    if (getarg(0,0))
    {
        select
            menuimage("actions/home", l("Return to Super Menu"));
    }

    return;
}



-	script	@event	32767,{
    end;

OnCall:
    GlobalEventMenu;
    closedialog;
    end;

OnInit:
    bindatcmd "event", "@event::OnCall", 4, 99, 0;
}