CLEO Help ini file help

CLEO related
Status
Not open for further replies.

sameer

Active member
Joined
Jun 1, 2014
Messages
190
Reaction score
0
How can i add random times in INI file .

Code:
[TIME]
WAIT=4500

Its fixed time , i want 6 or more random time in this .
How can i do that?
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,125
Reaction score
149
Hi, I hope that's what you're looking for
Code:
0209: 0@ = random_int_in_ranges 0 10000
0AF1: write_int 0@ to_ini_file "cleo\name.ini" section "TIME" key "WAIT"

Btw what do you mean by "Its fixed time , i want 6 or more random time in this ."?
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
From the PM he sent me, he wants to send a message with a random time (5-10sec). So just skip the read/write from file and just use

Code:
0209: 0@ = random_int_in_ranges 5 10 //random between 5 and 10 seconds
0@ *= 1000
wait 0@
//send message
//repeat
 
Status
Not open for further replies.
Top