Jump to content
  • 0

Woe Timer HELP


HappyMan

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

anyone can help or make this 2 hour woe timer? thanks in advance

//For 1 hour WoE Only

-    script    WoECountdown    -1,{
OnAgitStart:
initnpctimer;
OnTimer1800000:
announce "[WoE]: Last 30 minutes",0;
end;
OnTimer2400000:
announce "[WoE]: Last 20 minutes",0;
end;
OnTimer3000000:
announce "[WoE]: Last 10 minutes",0;
end;
OnTimer3300000:
announce "[WoE]: Last 5 minutes",0;
end;
OnTimer3360000:
announce "[WoE]: Last 4 minutes",0;
end;
OnTimer3420000:
announce "[WoE]: Last 3 minutes",0;
end;
OnTimer3480000:
announce "[WoE]: Last 2 minutes",0;
end;
OnTimer3540000:
announce "[WoE]: Last 1 minute",0;
end;
OnTimer3570000:
announce "[WoE]: Last 30 Seconds",0;
end;
OnTimer3571000:
announce "[WoE]: Last 29 Seconds",0;
end;
OnTimer3572000:
announce "[WoE]: Last 28 Seconds",0;
end;
OnTimer3573000:
announce "[WoE]: Last 27 Seconds",0;
end;
OnTimer3574000:
announce "[WoE]: Last 26 Seconds",0;
end;
OnTimer3575000:
announce "[WoE]: Last 25 Seconds",0;
end;
OnTimer3576000:
announce "[WoE]: Last 24 Seconds",0;
end;
OnTimer3577000:
announce "[WoE]: Last 23 Seconds",0;
end;
OnTimer3578000:
announce "[WoE]: Last 22 Seconds",0;
end;
OnTimer3579000:
announce "[WoE]: Last 21 Seconds",0;
end;
OnTimer3580000:
announce "[WoE]: Last 20 Seconds",0;
end;
OnTimer3581000:
announce "[WoE]: Last 19 Seconds",0;
end;
OnTimer3582000:
announce "[WoE]: Last 18 Seconds",0;
end;
OnTimer3583000:
announce "[WoE]: Last 17 Seconds",0;
end;
OnTimer3584000:
announce "[WoE]: Last 16 Seconds",0;
end;
OnTimer3585000:
announce "[WoE]: Last 15 Seconds",0;
end;
OnTimer3586000:
announce "[WoE]: Last 14 Seconds",0;
end;
OnTimer3587000:
announce "[WoE]: Last 13 Seconds",0;
end;
OnTimer3588000:
announce "[WoE]: Last 12 Seconds",0;
end;
OnTimer3589000:
announce "[WoE]: Last 11 Seconds",0;
end;
OnTimer3590000:
announce "[WoE]: Last 10 Seconds",0;
end;
OnTimer3591000:
announce "[WoE]: Last 9 Seconds",0;
end;
OnTimer3592000:
announce "[WoE]: Last 8 Seconds",0;
end;
OnTimer3593000:
announce "[WoE]: Last 7 Seconds",0;
end;
OnTimer3594000:
announce "[WoE]: Last 6 Seconds",0;
end;
OnTimer3595000:
announce "[WoE]: Last 5 Seconds",0;
end;
OnTimer3596000:
announce "[WoE]: Last 4 Seconds",0;
end;
OnTimer3597000:
announce "[WoE]: Last 3 Seconds",0;
end;
OnTimer3598000:
announce "[WoE]: Last 2 Seconds",0;
end;
OnTimer3599000:
announce "[WoE]: Last 1 Second",0;
stopnpctimer;
end;
}

 

Edited by Emistry
Please use codebox.
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  


prontera,155,181,5	script	Sample	4_F_KAFRA,{
	end;
	
	OnAgitStart:
		.woe_timer_1 = gettimetick(2) + 3600; // 1 hour WOE FE
		donpcevent strnpcinfo(3)+"::OnCountdown";
		end;
		
	OnAgitStart2:
		.woe_timer_2 = gettimetick(2) + 3600; // 1 hour WOE SE
		donpcevent strnpcinfo(3)+"::OnCountdown";
		end;
		
	OnCountdown:
		.@gettimetick = gettimetick(2);
		if (.woe_timer_1 > .@gettimetick)
			.@string$ = .@string$ + "(FE: "+(.woe_timer_1 - .@gettimetick)+") ";
		if (.woe_timer_2 > .@gettimetick)
			.@string$ = .@string$ + "(SE: "+(.woe_timer_2 - .@gettimetick)+") ";
		if (.@string$ != "") {
			.@string$ = "WOE " + .@string$;
			sleep 1000;
			donpcevent strnpcinfo(3)+"::OnCountdown";
		}
		end;
}

 

Edited by Emistry
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

up

or anyone have woe timer depends on set time ?

@Emistry @anacondaq @Playtester

Link to comment
Share on other sites

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.

×
×
  • Create New...