Jump to content

Holding Arrow Key- Help Me


Guest Indubitably

Recommended Posts

Guest Indubitably

Hey, I'm New to these forums and autoit. My friend and I, made a script yesterday for the first time. It has no errors, although some questions have arose that I need you people's advice. Thanks :)

Here's the script... :lmao:

Dim $Heal

Dim $Random

DIm $Sleep

Dim $Loop

MsgBox(0, "Indubitably's Archer Bot V.01", "Find a Ledge. Key Settings- CTRL= Special Shot / LSHIFT= Slow Ability / Normal Shot= ALT! To Quit Bot Press 9! WARNING- Use of this Bot can get you suspended/banned from MapleStory! Next Version Coming Soon...")

HotKeySet("{9}","Quit")

HotKeySet("{8}","PauseBot")

HotKeySet("{7}","StartBot")

While 1

Send("{RALT}")

Sleep(250)

Send("{RALT}")

Sleep(250)

Send("{RCTRL}")

Sleep(250)

Sleep (50)

If $Heal = 20 Then

Send("{LSHIFT}")

sleep (250)

Send("{RIGHT}")

Sleep(2000)

Send("{LEFT}")

Sleep(2000)

$Heal = 1

Endif

$Heal = $Heal + 1

Wend

Func Quit()

Exit

EndFunc

Func PauseBot()

Do

$Sleep = 1

Sleep(60000)

$Sleep = 2

Until $Sleep = 2

EndFunc

Func StartBot()

While 1

Send("{RALT}")

Sleep(250)

Send("{RALT}")

Sleep(250)

Send("{RCTRL}")

Sleep(250)

Sleep (50)

If $Heal = 20 Then

Send("{LSHIFT}")

sleep (250)

Send("{RIGHT}")

Sleep(2000)

Send("{LEFT}")

Sleep(2000)

$Heal = 1

Endif

$Heal = $Heal + 1

Wend

EndFunc

Problems-

1. Hotkeys Do not work? How do I fix :) lol

2. I need it too hold down the Left or Right Arrow keys for about a second. I tried ("{Right Down}") tehn like Sleep(1000) ("{Right Up}") But that didnt get what I wanted. Accually i think it was an error o:) Any ideas, I'm a noob! Help me out.

Much thanks Indubitably,

:)

It Says There is a repy, i dont see one?

Edited by Indubitably
Link to post
Share on other sites

Hey, I'm New to these forums and autoit. My friend and I, made a script yesterday for the first time. It has no errors, although some questions have arose that I need you people's advice. Thanks  :)

Here's the script...  o:)

Dim $Heal

Dim $Random

DIm $Sleep

Dim $Loop

MsgBox(0, "Indubitably's Archer Bot V.01", "Find a Ledge. Key Settings- CTRL= Special Shot / LSHIFT= Slow Ability / Normal Shot= ALT! To Quit Bot Press 9! WARNING- Use of this Bot can get you suspended/banned from MapleStory! Next Version Coming Soon...")

HotKeySet("{9}","Quit")

HotKeySet("{8}","PauseBot")

HotKeySet("{7}","StartBot")

While 1

Send("{RALT}")

Sleep(250)

Send("{RALT}")

Sleep(250)

Send("{RCTRL}")

Sleep(250)

  Sleep (50)

  If $Heal = 20 Then

Send("{LSHIFT}")

sleep (250)

Send("{RIGHT}")

Sleep(2000)

Send("{LEFT}")

Sleep(2000)

   $Heal = 1

  Endif

  $Heal = $Heal + 1

Wend

Func Quit()

Exit

EndFunc

Func PauseBot()

Do

  $Sleep = 1

  Sleep(60000)

  $Sleep = 2 

Until $Sleep = 2

EndFunc

Func StartBot()

While 1

Send("{RALT}")

Sleep(250)

Send("{RALT}")

Sleep(250)

Send("{RCTRL}")

Sleep(250)

  Sleep (50)

  If $Heal = 20 Then

Send("{LSHIFT}")

sleep (250)

Send("{RIGHT}")

Sleep(2000)

Send("{LEFT}")

Sleep(2000)

   $Heal = 1

  Endif

  $Heal = $Heal + 1

Wend

EndFunc

Problems-

1. Hotkeys Do not work? How do I fix  :) lol

2. I need it too hold down the Left or Right Arrow keys for about a second. I tried ("{Right Down}") tehn like Sleep(1000) ("{Right Up}") But that didnt get what I wanted. Accually i think it was an error  :) Any ideas, I'm a noob! Help me out.

Much thanks Indubitably,

:whistle:

<{POST_SNAPBACK}>

Hello load the scite4 from my sig or look on the help files from Autoit3 , for the right keys comands!good look for it :lmao: It is very easy to teach it wis the scite4 scritwriter! :P

Happy Coding :huh2:

Edited by DirtyBanditos
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...