Sign in to follow this  
Followers 0
Zarakai

Simple Questens "Loop send command"

2 posts in this topic

#1 ·  Posted (edited)

Hi

i work at a bot for a game

the funny thing is that i can use a autoattack skill ingame

so all what i have to do is press a number like 1 ^^

and he does all.

so i want to make a small programm for it =)

MsgBox(0, "----MTP--Programm-V 1.0----", "run now?")

Send("{1}")

Sleep (5000)

Send("{1}")

( I need a delay so 5000 is fine)

so i want to Loop this send command can someone please help me out?

thank you . :)

Edited by Zarakai

Share this post


Link to post
Share on other sites



Keyword Reference

Do...Until

--------------------------------------------------------------------------------

Loop based on an expression.

Do

statements

...

Until <expression>

Remarks

Do...Until statements may be nested.

The expression is tested after the loop is executed, so the loop will be executed one or more times.

Related

ContinueLoop, ExitLoop, While...WEnd, For...Next

Example

$i = 0

Do

MsgBox(0, "Value of $i is:", $i)

$i = $i + 1

Until $i = 10

Or... you could hit "1" yourself... lay down and nap for 5 seconds... get up... hit "1" again... lay down for another nap... get up... hit "1" again...

Really... are games fun when you play this way? :)

By the way... welcome to the forum.

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