viewing paste Unknown #17814 | Athena

Posted on the | Last edited on
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
OnClock2100:    //start time for Sat(6)
OnClock2230:    //end time for Sat(6)
 
OnAgitInit2:
    // starting time checks
 
        if((gettime(4)==0) && (gettime(3)>=21 && gettime(3)<23)) {
                if (!agitcheck2()) {
                announce "WoE 2.0 Begins!", bc_all|bc_woe;
                        agitstart2;
setmapflag  "sch_gld",  mf_bg_consume;
setmapflag  "schg_cas01",   mf_bg_consume;
 
                }
                end;
        }
 
    // end time checks
 
        if ((gettime(4)==0) && (gettime(3)==22) && (gettime(2)==30)) {
                if (agitcheck2()) {
                announce "WoE 2.0 was ended!", bc_all|bc_woe;
                        agitend2;
removemapflag   "sch_gld",  mf_bg_consume;
removemapflag   "schg_cas01",   mf_bg_consume;
                }
                end;
        }
        end;
}
Viewed 1128 times, submitted by milk.