Jump to content
  • 0

Help! Script for broadcast WoE countdown for 1 Hour WoE


Question

Posted

Help! Script for broadcast WoE countdown for 1 Hour WoE.

I saw one rathena script but its 2 hours. I already change 120 Timer to 60 but its wrong countdown. heres the script of 2 hours woe count down. but i need 1 hour woe count down. Thank You!

-    script    WOE_Countdown    -1,{    
    OnAgitStart:
        goto STARTWOE;
    end;
    
    OnAgitInit2: 
        goto STARTWOE;
    end;
    
    STARTWOE:
        .woe_countdown = 120;
        initnpctimer;
    end;
    
    OnTimer60000:
        .woe_countdown--;
        if ( .woe_countdown < 10 || ( .woe_countdown % 10 ) == 0 ) {
            announce "[WOE ANNOUNCER] Left "+.woe_countdown+" minute(s)",bc_all;
        }
        if ( .woe_countdown == 1 ) {
            stopnpctimer;
            sleep 30000;
            for ( .@i = 30; .@i > 0; .@i-- ) {
                announce "[WOE ANNOUNCER] Left "+.woe_countdown+" second(s)",bc_all;
            }
        }
        else setnpctimer 0;
    end;
}

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...