Jump to content

Simple Questens "Loop send command"


Recommended Posts

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
Link to comment
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.

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...