Dismount button

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Denja
decaying skeleton
decaying skeleton
Posts: 1
Joined: Wed Dec 17, 2003 3:29 pm

Dismount button

Post by Denja » Wed Dec 17, 2003 3:32 pm

Ok i have curently this script running, which dismounts my horse and duckout the current spell i'm casting.

Its keyed under my fishing key, i couldn't find anyother way to do it.

Is there a way to map it to a keyboard key?

Note: can't use custom hotbutton keys while casting

Code: Select all

#turbo
#event dism "You can't fish without a fishing pole, go buy one."

Sub Main
:Mainloop 
    
/doevents 
/delay 1s 
/goto :Mainloop 

/return
Sub Event_dism 
   /dismount 
   /press d 
   /press d 
/return 

User avatar
Elric
Cheese Whore
Cheese Whore
Posts: 466
Joined: Sun Nov 23, 2003 12:31 am
Location: Tampa, Fl
Contact:

Post by Elric » Wed Dec 17, 2003 5:57 pm

Ya know, you could easily add this to a hotbutton, just by putting in something like.

/mac dism

Then you can map that hotbutton to a key on your keyboard by using the Options panel, and selecting Macros, then remapping the hotbutton slot to any key you choose.

Or is this made to be more automated? I think the above answers your question.

Or... OH, you can't use hotbuttons while casting. "You can't use this command right now...." Well, give that a shot anyhow, and if nothing comes of it, you can try adding an alias to the ini for MQ2, and then just go from there. I mean, that's the right path, but I'm a little lost on the wording.

Sorry, just got home, tired and all. Maybe I'm just not getting it.
-Elric

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Thu Dec 18, 2003 12:38 am

Wow, this kicks ass. I agree though that it would be real nice if you can bind it to a key instead.

User avatar
Jon100
a hill giant
a hill giant
Posts: 161
Joined: Mon Sep 22, 2003 6:15 am
Location: UK

Post by Jon100 » Wed Dec 31, 2003 4:42 am

How about:

do "/alias /d /macro dismount.mac" in game.

Code: Select all

| dismount.mac

#turbo

Sub Main

   /dismount
   /press d
   /press d

/return
 
Aliasing /d to this means you cant use /d as a shortcut for /duel, but then I never use that and you can always type it in full.

I like the idea of using the fishing ability as the trigger, but its not a hotkey I would use enough to warrent putting on hotpad 1.