luisangelops Posted May 23, 2022 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 05/28/17 Last Seen: January 19 Share Posted May 23, 2022 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; } Quote Link to comment Share on other sites More sharing options...
0 buraquera Posted May 24, 2022 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 68 Reputation: 8 Joined: 05/12/20 Last Seen: April 6 Share Posted May 24, 2022 The script seems to be ok. It should work if u change .timer 60. U said its not working, whats happening? Quote Link to comment Share on other sites More sharing options...
0 dantoki Posted May 24, 2022 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 236 Reputation: 42 Joined: 10/21/12 Last Seen: 4 hours ago Share Posted May 24, 2022 (edited) Its working fine. Edited May 24, 2022 by qtdan Quote Link to comment Share on other sites More sharing options...
Question
luisangelops
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;
}
Link to comment
Share on other sites
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.