Sign in to follow this  
Followers 0
haXor4life

Sending words in random order from an array

9 posts in this topic

Wasup computer men? I want to know how can I make array with bunch of words and send it in random order? Please give me certain code or right nothing. Thank you.

Share this post


Link to post
Share on other sites



$string="a,b,c,d"
$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)
MsgBox(0,"Random",$Array[$i])

Share this post


Link to post
Share on other sites

Really... :)

Certainly.

Share this post


Link to post
Share on other sites

Certainly.

So... how's that work'n out for 'ya? :)

All seriousness aside, this site is about helping people script with AutoIt. It is not a place where people get scripts written for them on command. You should try the tutorials in the help file. Check out the Wiki on arrays. Look at the Random() function. Code up an attempt, and if it doesn't work, post it here for more help.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

So... how's that work'n out for 'ya? :)

All seriousness aside, this site is about helping people script with AutoIt. It is not a place where people get scripts written for them on command. You should try the tutorials in the help file. Check out the Wiki on arrays. Look at the Random() function. Code up an attempt, and if it doesn't work, post it here for more help.

:)

and to think... if he wasnt so snobby about it, I usually write the code out for people anways -.-'


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

and to think... if he wasnt so snobby about it, I usually write the code out for people anways -.-'

You're getting better... we'll break you of it yet!

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

You're getting better... we'll break you of it yet!

:)

haha :)


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

So... how's that work'n out for 'ya? :)

Worked fine.

if he wasnt so snobby

I said "thank you", buddy.

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