Help section from before the user variable changes that broke all macros
Moderator: MacroQuest Developers
-
weapon
- a ghoul

- Posts: 101
- Joined: Tue Oct 01, 2002 7:20 pm
Post
by weapon » Thu Oct 03, 2002 2:57 pm
Is there some way to break the macro besides /endmacro? If I'm stuck in a talk to vendor loop and its hitting u over and over i just dont have the skills to type faster than the computer. So is there some key sequence like ctrl + break that can stop macros?
-
Magnus
- a ghoul

- Posts: 85
- Joined: Sun Aug 11, 2002 3:50 pm
Post
by Magnus » Thu Oct 03, 2002 3:20 pm
Make a hotkey...
Mag
-
Fippy
- a snow griffon

- Posts: 499
- Joined: Tue Jul 16, 2002 10:42 am
Post
by Fippy » Thu Oct 03, 2002 3:22 pm
I aliased /x to /endmacro ya can type /x pretty quickly.
Fippy.
-
weapon
- a ghoul

- Posts: 101
- Joined: Tue Oct 01, 2002 7:20 pm
Post
by weapon » Thu Oct 03, 2002 3:23 pm
good call thx
-
Imperfect
- Macro Author

- Posts: 319
- Joined: Fri Jun 14, 2002 1:52 am
Post
by Imperfect » Thu Oct 03, 2002 7:32 pm
/mqpause <on|off>
You could just make it an alias.
-
ap50
- a snow griffon

- Posts: 425
- Joined: Sun Aug 18, 2002 2:29 pm
Post
by ap50 » Fri Oct 04, 2002 4:40 am
I've always found I can type /end damned quickly, when I think there's a chance something can screw me over

[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Fri Oct 04, 2002 9:02 am
I've always wanted a hotkey, but with the advent of the telnet server, thats a ship that has sailed.
I bind /endmacro to 1 and try to click on it or just mash down ctrl and shift until the macro gets stuck at something.
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
wondermq
- decaying skeleton

- Posts: 4
- Joined: Mon Sep 30, 2002 10:16 pm
Post
by wondermq » Sat Oct 05, 2002 12:59 am
I was running into something similiar I wanted a task to run and then give me a point at which I could end themacro.
I was thinking about trying the /delay command and have the macro pause at a certain point allowing me to end it there.
I have not made the mod to my script yet but that was one of my ideas for dealing with this issue.
Of course I am still filtering through the read me and this maybe a wrong approach.
-
operat0r
- RTFM, then ask again
- Posts: 61
- Joined: Thu Aug 28, 2003 2:04 am
Post
by operat0r » Sun Sep 07, 2003 2:23 pm
how do you end a macro by filename ?? or can you only end all macros ??? I looked everywhere /endmacro macro.mac does not appear to work
I will try setting
:end1
/endmacro
/return
and then useing /goto end1
or is it better to use /if end1 == 1 /goto :end1
and then /setvar end1 1
dont have EQ on my computer to test it now one of them is bound to work like I want it ..

with love moron #6895423686
-
Consilium
- Contributing Member

- Posts: 100
- Joined: Wed Oct 02, 2002 10:42 pm
Post
by Consilium » Sun Sep 07, 2003 10:47 pm
You can put an event in for mouse movement to puase the current macro... hmm or possibly an event to look for the mouse in a certain corner of the screen...as MQ is now when you take mouse control MQ looses it so anything to do with the mouse stopping it will work.
I personally just use a hotbutton /ho stop /endmacro will make one on your cursor.
/ho makes the hotbotten in game
stop names the button stop
/endmacro is what it will do when pressed.
-SH
+Student
digitalsavior.com
-
ap50
- a snow griffon

- Posts: 425
- Joined: Sun Aug 18, 2002 2:29 pm
Post
by ap50 » Mon Sep 08, 2003 8:42 am
Code: Select all
/IF $target(name)==$char(name) {
/end
}
*edit* Forgot the most blatant part..
Just press F1 to end the macro.
Last edited by
ap50 on Tue Sep 09, 2003 3:24 am, edited 1 time in total.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]
-
Shin Noir
- a ghoul

- Posts: 90
- Joined: Tue Aug 05, 2003 8:18 pm
Post
by Shin Noir » Mon Sep 08, 2003 11:09 am
When I know a certain part of my code has a chance of looping indefinitely, I create a time-out var to count down to 0 from like 10 secs (or whatever) to auto-pause or shutdown the script.
Just an easy way to terminate a turbo-loop that could run forever.
Code: Select all
/varset t0 100 |set timer 0 to 10 secs
:SomeLoop
|Code to do
/if $t0==0 /delay ## or /endm if this loop should never take 10 secs
/doevents
/goto :SomeLoop
Hope this helps