Sign in to follow this  
Followers 0
clouddstrife

help making me this bot

25 posts in this topic

i want to make a bot that does that :

Left Click

Esc

Enter

Repeatedly.

can someone help me ?

first project :whistle:

also i want it to do it extremely fast with no bugs :lmao:

Share this post


Link to post
Share on other sites



Look up MouseClick, Send, and loops (probably While loops) in the help file.


IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

i dont understand .. any link :whistle:?

well be grateful if you do it for me

Edited by clouddstrife

Share this post


Link to post
Share on other sites

i want to make a bot that does that :

Left Click

Esc

Enter

Repeatedly.

can someone help me ?

first project :whistle:

also i want it to do it extremely fast with no bugs :lmao:

Look up Send() in the help file. Also use the Opt("KeyDownDelay",<some value>) to make sure that your game registers the keypresses. Read the helpfile, experiment, and if you can't get any further, get back on the forum and explain the problem. If possible, post the code you have tried already so people can see what went wrong and help you improve it.

In general, peeps here will not be writing your code for you from scratch, but if you show how far you got, you are very likely to get help with getting through roadblocks or bughunting.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

i want to make a bot that does that :

Left Click

Esc

Enter

Repeatedly.

can someone help me ?

first project :whistle:

also i want it to do it extremely fast with no bugs :lmao:

while 1
mouseclick ( "Left" ) (this will hit mouse click where mouse located at the time) want more seccure way put the cordinates)
send  ("{ESC}")
Send ( "{ENTER}" )
sleep ( 10 ) ( 10 is the fasted if you don't want your cpu run to 100% )
wend

but read the help that is how i came to where i am to today ( as a beginner no noob more ;))

Edited by lilx

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

and realy trust me readin the help! REALLY Helps i did write it for you becuase it's fast to write but like someone els said there not always gonna write your program! sorry for dubbel post guys

Edited by lilx

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

thanks anyway u can do it :

if press Insert = start

Home = Pause

Page Up = Stop ?

oh and btw error at line 5.

Edited by clouddstrife

Share this post


Link to post
Share on other sites

thanks anyway u can do it :

if press Insert = start

Home = Pause

Page Up = Stop ?

oh and btw error at line 5.

What? lol

Share this post


Link to post
Share on other sites

Line 5 (file place)

sleep (10) (10 is fasted if u dont want bla bla 100% cpu)

error : UNTERMINATED STRING.

Share this post


Link to post
Share on other sites

umhh i well let you learn this on on your own you will need this HotKeySet() and Func ()

Share this post


Link to post
Share on other sites

NOOOOOOOOOO PLS DONT LEAVE ME ALONE :CRY:

Share this post


Link to post
Share on other sites

Line 5 (file place)

sleep (10) (10 is fasted if u dont want bla bla 100% cpu)

error : UNTERMINATED STRING.

you didn't need to copy the last () :whistle: is was only to explain you here copy this one

while 1
mouseclick ( "Left" )
send  ("{ESC}")
Send ( "{ENTER}" )
sleep ( 10 )
wend

Share this post


Link to post
Share on other sites

THANKS

help me with start = inster , pause = home , stop = page up

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

thanks anyway u can do it :

if press Insert = start

Home = Pause

Page Up = Stop ?

oh and btw error at line 5.

HotKeySet("{INSERT}", "start") 
HotKeySet("{HOME}", "TogglePause")
HotKeySet("{PGUP}", "Exit")
dim $paused

Func start()

while 1
mouseclick ( "Left" )
send  ("{ESC}")
Send ( "{ENTER}" )
sleep ( 10 ) 
Wend

Endfunc



Func TogglePause()  
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
EndFunc

Func Exit()
Exit()
Endfunc
Edited by cageman

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

OMG I LOVE YOU

error : LINE 0 (FILE NAME)

FUNC EXIT ()

ERROR : BADLY FORMATTED ''FUNC'' STATEMENT.

Edited by clouddstrife

Share this post


Link to post
Share on other sites

error :whistle:

Share this post


Link to post
Share on other sites

OMG I LOVE YOU

error : LINE 0 (FILE NAME)

FUNC EXIT ()

ERROR : BADLY FORMATTED ''FUNC'' STATEMENT.

HotKeySet("{PGUP}", "Exit") change to HotKeySet("{PGUP}", "stopit")

Func Exit() change to Func stopit()

Share this post


Link to post
Share on other sites

when i open it nothing happens . it closes itself after 0.00001 second.

Share this post


Link to post
Share on other sites

what about you acting alittle nice ? they are helping :whistle:

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