Jump to content

Recommended Posts

Posted

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.

Posted

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

  • 3 weeks later...
Posted

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
Posted

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]

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
  • Recently Browsing   0 members

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