could I not simply add to the IF date statement like this:

Code:
CHANGE: 
if (%botd_day == Friday) { .timer_botd_kmgx_fri_request -o 14:00 1 1 botd_msg kmgx_fri_request }

TO:
set %botd_time $time(hhnn)
if (%botd_day == Friday && %botd_time < 1400) { .timer_botd_kmgx_fri_request -o 14:00 1 1 botd_msg kmgx_fri_request }



by creating the %botd_time into current time when the alias runs, of lets say 0501 (05:01 in the mornin) then in the first IF statement, comparing it to the posted time of 1400. It should beable to determin that if 'current time' is earlier than 'timer's action time' then it would enable it.

If I am correct, How could I add this to the weekly? like this?

Code:
CHANGE
if (!$istok(saturday.sunday.friday,%botd_day,46)) { .timer_botd_live -o 20:00 1 1 botd_msg mgs_live }

TO
if (!$istok(saturday.sunday.friday,%botd_day,46) && %botd_time < 2000) { .timer_botd_live -o 20:00 1 1 botd_msg mgs_live }

Last edited by eqrunner; 16/05/09 11:27 PM.