viewing paste Unknown #17825 | Athena

Posted on the
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
-   script  Agit2_Event -1,{
        end;
 
OnClock2100:    //start time for Sat(6)
OnClock2230:    //end time for Sat(6)
 
OnAgitInit2:
 
    if ( (gettime(4)==6) && (gettime(3)>=21 && gettime(2)<30) ) {
    announce "[debug] Let's run the first check.", bc_all|bc_woe;
        if (!agitcheck2()) {
                announce "WoE 2.0 началось!", bc_all|bc_woe;
                agitstart2;
                announce "[debug] agitstart2", bc_all|bc_woe;
            }
            end;
        }
 
    if ( (gettime(4)==6) && (gettime(3)==22 && gettime(2)==30) ) {
        announce "[debug] Let's run the second check", bc_all|bc_woe;
        if (agitcheck2()) {
                announce "WoE 2.0 завершилось.", bc_all|bc_woe;
                agitend2;
                announce "[debug] agitend2", bc_all|bc_woe;
                }
                end;
        }
    end;
}
Viewed 720 times, submitted by Guest.