Jump to content

Random characters?


Recommended Posts

This is the code I am running for my test

If Random() < 0.5 Then

;Capitals

$Letter = Chr(Random(Asc("A"), Asc("Z"), 1))

sleep(5000)

Else

;Lower case

$Letter = Chr(Random(Asc("a"), Asc("z"), 1))

sleep(5000)

Endif

send($Letter)

How do I make it so it randomly pics between only these characters W. A. S. D . and Space?

Link to comment
Share on other sites

just random between 1 and five

if = 1 then w

elseif 2 then a

etc.

.. Boy do I feel stupid, thanks. you wouldn't happen to know which command to put in for the spacebar would you?

Now if I can just get someone to answer my 64 bit dll thread Ill be set

Edited by Korruption
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...