Sign in to follow this  
Followers 0
Korruption

Random characters?

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

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

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