Jump to content

Store Random


Recommended Posts

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

its so the msgbox is ontop of everything haha

Link to comment
Share on other sites

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
Link to comment
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...

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...