Dear Shawn,
Congratulations. You did it again who enter a new Millenium.
It is not only based on great input but also all kind of tourna-
ments (Kix-Golf tournament with above 250 reactions in one week).
We like another formula which is agreeable for all parties and
the different forums becomes a forum again and no chatroom. For
the chatroom we suggest another forum.
Our formula
code:
SELECT
CASE (counter <= 1000)
delay=0
CASE (counter > 1000)
3600
delay = Abs(Int(---------------------------- + 100/Ra * (5.00 - W)))
3600 - ((C - X) - (M1 - M2))
CASE 1
? "sorry no member."
ENDSELECT
.
.
.
C = current_date
X = registration_date
M1 = enter_date_current_millenium
M2 = enter_date_previous_millenium
.
Re = registration number of this member
Ra = current_rate
W = current_weight_factor
e.g. Shawn values
code:
C = 2002167 (16 June 2002)
X = 1999229 (17 August 1999)
M1 = 2002166 (15 June 2002)
M2 = 2001341 (7 December 2001)
.
Re = 173
Ra = 38
W = 4.69
.
delay becomes: Int(3.23676) = 3 seconds
Another suggestion:
code:
SELECT
CASE (T1 < 21600)
delay=21600 - T1
? "Sorry it is bedtime."
CASE (T1 - T2 <= 14400)
delay=1
CASE (14400 < (T1 - T2)) AND ((T1 - T2) <= 18000)
delay=18000 - T1
? "Sorry, lunch time."
CASE (18000 < (T1 - T2)) AND ((T1 - T2) <= 28800)
delay=1
CASE (28800 < (T1 - T2))
delay=86400 - T1
? "Sorry, end of your kix day. please go home."
CASE 1
? "Sorry, you are trying something illegals.
ENDSELECT
SLEEP delay
.
.
.
T1 = current_time (second format)
T2 = time_of_first_topic_of_this_day (second format)
greetings.
[ 17 June 2002, 00:34: Message edited by: MCA ]