es facil, vayan al archivo
npc/guild/ev_agit_event.txt
luego saldra algo asi como
//= gettime(4): Gets day of week 1=Monday, 2=Tuesday,
//= 3=Wednesday, 4=Thursday, etc.
- script Agit_Event -1,{
end;
OnClock2100: //start time for Tues(2), Thurs(4)
OnClock2300: //end time for Tues(2), Thurs(4)
OnClock1600: //start time for Sat(6)
OnClock1800: //end time for Sat(6)
OnAgitInit:
// starting time checks
if((gettime(4)==2) && (gettime(3)>=21 && gettime(3)<23)) goto L_Start;
if((gettime(4)==4) && (gettime(3)>=21 && gettime(3)<23)) goto L_Start;
if((gettime(4)==6) && (gettime(3)>=16 && gettime(3)<18)) goto L_Start;
// end time checks
if((gettime(4)==2) && (gettime(3)==23)) goto L_End;
if((gettime(4)==4) && (gettime(3)==23)) goto L_End;
if((gettime(4)==6) && (gettime(3)==18)) goto L_End;
end;
L_End:
Announce "The War Of Emperium is over!",8;
AgitEnd;
end;
L_Start:
Announce "The War Of Emperium has begun!",8;
AgitStart;
end;
}
(cuando dice OnClock2100, se refiere a la hora 21:00 hrs.)
Modifiquen
en donde dice:
OnClock2100: //start time for Tues(2), Thurs(4) --->Cuando empieza la woe los martes y jueves. (pueden modificar los dias poniendo ej:Mond(1),
o sea los lunes.
OnClock2300: //end time for Tues(2), Thurs(4)----> cuando termina la woe . 2300 --->23:00 hrs.
OnClock1600: //start time for Sat(6)----> empieza los dias sabados Sat(6) a las 16:00.
OnClock1800: //end time for Sat(6)----->termina los dias sabados a las 18:00 hrs.
Todos estos datos son modificables reemplazando el dia con su nuemero:
ejemplo: Sat(6)
y modificar las horas en que terminan o empiezan
ejemplo: OnClock1400---> 14:00 hrs.
espero q les sirva.
