Jump to content
  • 0

Change Schedule WOE


Question

Posted (edited)
 
Hello everyone! I am trying to change Woe's Schedule, this is the text I have put, but I don't know how to modify it,
it helps !! Thank you all very much, you are a great community! :D
Gods of Ragnarok
 
The ideal would be from 11 at night to 12 :D thanks

OnClock2100:    //start time for Tuesday and Thursday
OnClock2300:    //end time for Tuesday and Thursday
OnClock1600:    //start time for Saturday
OnClock1800:    //end time for Saturday

OnAgitInit:
    // starting time checks
    if((gettime(DT_DAYOFWEEK)==TUESDAY) && (gettime(DT_HOUR)>=21 && gettime(DT_HOUR)<23) ||
       (gettime(DT_DAYOFWEEK)==THURSDAY) && (gettime(DT_HOUR)>=21 && gettime(DT_HOUR)<23) ||
       (gettime(DT_DAYOFWEEK)==SATURDAY) && (gettime(DT_HOUR)>=16 && gettime(DT_HOUR)<18)) {
        if (!agitcheck()) {
            AgitStart;
            callsub S_DisplayOwners;
        }
        end;
    }

    // end time checks
    if ((gettime(DT_DAYOFWEEK)==TUESDAY) && (gettime(DT_HOUR)==23) ||
        (gettime(DT_DAYOFWEEK)==THURSDAY) && (gettime(DT_HOUR)==23) ||
        (gettime(DT_DAYOFWEEK)==SATURDAY) && (gettime(DT_HOUR)==18)) {
        if (agitcheck()) {
            AgitEnd;
            callsub S_DisplayOwners;
        }
        end;
    }
    end;

 

Edited by Mael
Use a codebox

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...