summaryrefslogblamecommitdiff
path: root/npc/commands/event.txt
blob: a01162e263ce3dfc0a094c26c3b484ac81b3cd19 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                                            
 
                    
     

                                                                 

     
           














                                                  
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;
}