S sameer Active member Joined Jun 1, 2014 Messages 190 Reaction score 0 Mar 14, 2015 #1 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?
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,127 Solutions 1 Reaction score 158 Mar 14, 2015 #2 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 ."? Upvote 0 Downvote
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 ."?
springfield God Joined Feb 18, 2005 Messages 2,965 Reaction score 272 Mar 14, 2015 #3 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 Upvote 0 Downvote
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