Sign in to follow this  
Followers 0
kim

plz help a noob :(

6 posts in this topic

#1 ·  Posted (edited)

trying to make it so it will keep leftclick 2 time over 2 place over and over but it will not even start plz help

MouseClick("left", 290, 338, 50, 0)

tryed that but i need a loop :) ahhhhhhhhh sucha noob :) at this

;) looping is the problem for me... this is the 1st time using this program but i am so having a problem....

Edited by kim

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

ahhhh any way to make this pause and start to work?

sorry :) very new to this...

HotKeySet("{ESC}", "Terminate")

HotKeySet("{{END}", "TogglePause") // yea one { not two :) i see it now ;)

HotKeySet("{{HOME}", "Startagain") // yea one { not two :D i see it now :(

Func Terminate()

Exit 0

EndFunc

Func TogglePause()

$on = 1

EndFunc

Func Startagain()

$on = 0

EndFunc

$on = 0 // last time even if the $on = 1 i made it so that since $on = 0

while $on = 1 // is not the same so i tought it would stop. but since there are

sleep (500) // #on = 1 funtion this will work better :idiot: wow

wend // ka ka ka just starting but i see it clear now :idiot: thank you

While $on = 0

Sleep (500)

MouseClick("left", 290, 338, 1, 0)

Sleep (500)

MouseClick("left", 315, 339, 1, 0)

Wend

Edited by kim

Share this post


Link to post
Share on other sites

HotKeySet("{ESC}", "Terminate")

HotKeySet("{END}", "TogglePause")

HotKeySet("{HOME}", "Startagain")

Func Terminate()

Exit 0

EndFunc

Func TogglePause()

$on = 1

EndFunc

Func Startagain()

$on = 0

EndFunc

$on = 0

while 1

While $on = 1

Sleep (500)

Wend

Sleep (500)

MouseClick("left", 290, 338, 1, 0)

Sleep (500)

MouseClick("left", 315, 339, 1, 0)

wend

this works. you had some typos. download SCITE (editor ) it will HELP YOU!!!!

there are better ways of doing this but I hate typing :)

Share this post


Link to post
Share on other sites

wow thank you :) god i have to learn how to use this better :)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I am pasting a code that does what I tell it to only when I tell it to. Use what you want. I am pasting this so you can learn how it is put together properly. I would also recomend SciTE as well. I will see if I can find the link to it.

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("^!d", "Dig")
HotKeySet("^!c", "Chop")
HotKeySet("^!x", "mExit")
HotKeySet("{End}", "End")

While 1
  Sleep(100)
WEnd

Func Chop()
While 1
   ControlSetText("Rise Or Die", "", "ThunderRT6TextBox1", "Chop" )
   ControlSend('Rise Or Die','','ThunderRT6TextBox1','{enter}')
   Sleep(10555)
WEnd
EndFunc

Func Dig()
While 1
   ControlSetText("Rise Or Die", "", "ThunderRT6TextBox1", "dig" )
   ControlSend('Rise Or Die','','ThunderRT6TextBox1','{enter}')
   Sleep(15555)
WEnd
EndFunc

;Text box containing game info
;RichTextWndClass1

;Text to watchfor...
;WildCat shouts:

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func mExit()
    Exit 
EndFunc 

Func End()
    While 1
        Sleep(100)
    WEnd
EndFunc

Let me know if you have any questions.

JS

Edit: Here is the link http://www.autoitscript.com/fileman/users/jdeb/scite4autoit3.exe

Edited by JSThePatriot

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

wow thank you so much getting it now :)

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