ranged attack macro

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

jbrintnell
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Aug 04, 2003 5:05 pm

ranged attack macro

Post by jbrintnell » Mon Aug 04, 2003 5:17 pm

I am attempting to make a macro that will click ranged attack continously for shooting arrows. I created this small macro that works when Ranged Attack is on hotkey 5, but I am not able to chat while fighting.


sub Main
/doevents

:Ranged
/push 5
/delay 10
/goto :Ranged
:loop
/return

I also tried /click command but that took over mouse and won't work because I mouse look constantly. I know there has got to be a way to just tell it to press ranged attack, but I just am not seeing it. I looked through all the posts and see nothing for pressing hotkey or for pressing ranged attack. Any help would be appreciated.

jbrintnell
decaying skeleton
decaying skeleton
Posts: 3
Joined: Mon Aug 04, 2003 5:05 pm

Post by jbrintnell » Mon Aug 04, 2003 7:25 pm

small mistake..I don't type /push 5...it's press key 5 which sends 5 over and over and over...so when I chat you can imagine 5 is in half of my chats..lol

Doodman
a ghoul
a ghoul
Posts: 124
Joined: Thu Jan 02, 2003 12:07 pm

Post by Doodman » Tue Aug 05, 2003 12:34 pm

Bind a non-speaking key to execute that hotbutton. Like, say pgup, pgdown, insert, home, del, end, etc.

Then it may not matter at all. Have not tested this, but your auto-attack may not go off but you won't get 5's in you rmessage. The reason it mighjt not go off is that if the chat buffer is up and a non-printable key is pressed it doesn't "take" IIRC. Try bringing up the chat buffer and pressing F9 to see what I mean.