Sign in to follow this  
Followers 0
jafuuu

Store Random

8 posts in this topic

Hi, this is my anwer:

There is any way to store who puts the script using random in a file? (Any file, .txt, .ini, .doc, anything)

For example:

$a = IniRead(@ScriptDir&"\Opciones.ini", "GENERAL", "INICIALES", "")
$b = Random(1, 10000, 1)
$x1 = IniRead(@ScriptDir&"\Opciones.ini", "COORDENADAS", "X1", "")
$y1 = IniRead(@ScriptDir&"\Opciones.ini", "COORDENADAS", "Y1", "")

MouseClick("left",$x1,$y1)
Sleep (500)

Send($a&$b)

Were $a are three words and $b are a number from 1 to 10000.

After this, there is any way to auto store this "random" line?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

bad english man... but ill give it a go and try and help

$section = ''
$file = ''
$minimumvalue = ''
$Maximumvalue = ''
dim $i = inireadsection ($File,$Section)
fileclose ($file)
msgbox (48, 'Random Section',$i[Random ($minimumvalue, $Maximumvalue)][0],'',wingethandle (wingettitle ('[Active]',''),'')) ;i forgot the timer.. and the ending bracket :S my bad

something like that?

edit SEE COMMENTS on it

Edited by CodyBarrett

Share this post


Link to post
Share on other sites

its so the msgbox is ontop of everything haha

Share this post


Link to post
Share on other sites

That was (hopefully) not his concern.


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

its so the msgbox is ontop of everything haha

:( >_< (<---- please notice that is two different smileys)

That was (hopefully) not his concern.

Definitely not. Now I propose nobody say anything to our canadian friend and see how long time it takes for him to get it.

Edit:Better clarity

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites

a staring face.. and a confused face.. i apologize lol but i personally use that little bit at the end so that its always on top of things... its not important...

what is important.. is the other code.. how it reads all the names & values from the ini section... because thats what i thought the OP wanted...

Share this post


Link to post
Share on other sites

Sometimes two for one is not better than one for two.


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0