blob: ed40c18416724a273374ae756b506711cccc8499 (
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
30
31
|
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.");
menuint
rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))), 1,
menuimage("actions/exit", l("Close")), 2;
if (@menuret == 1)
{
return;
}
closedialog;
}
- script @event 32767,{
end;
OnCall:
GlobalEventMenu;
closedialog;
end;
OnInit:
bindatcmd "event", "@event::OnCall", 4, 99, 0;
}
|