tolan.mac - summon up a bunch of arrows

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

mpmq
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Mar 18, 2004 8:07 pm

tolan.mac - summon up a bunch of arrows

Post by mpmq » Sun May 16, 2004 7:00 am

Here is a little macro I just wrote to summon up a quiver full of arrows, and a stack for the ammo slot. It casts summon arrows by taking my Tolan's Darkwood Bracer out of a pack, and equiping it.

There isn't much in the way of error checking in case it messes up, but it seems to work fine for me. You should be able to change it pretty easily to use other items that summon arrows.

Enjoy

Code: Select all

| tolan.mac
| Summons up a quiver full and range slot full of arrows using Tolan's Darkwood Bracer
| and places them in your quiver and your ammo slot, assumes you keep the bracer
| stored in a pack when not using. 
|
| Change the declares at the top of the macro to use a different summoning item,
| like the Bloody Achilie's Pouch, for example. And to specify where you keep your
| item, and where to put the resulting arrows
| 
| item = the name of the item that summons stuff
| pack = which pack you store the item in
| quiver = which pack is your quiver
| swapslot = which slot you need to equip the item in so you can cast with it
|
| There aren't any seatbelts provided, so use at your own risk :)


Sub Main 

/declare item string local "Tolan's Darkwood Bracer"
/declare pack string local "pack7"
/declare quiver string local "pack8"
/declare swapslot string local "rightwrist"
/declare slotnum invslot local
/declare l1 int local

	/if (${Window[InventoryWindow].Open}==0) /keypress inventory
	/delay 2
	/if (${Window[${pack}].Open}==0) /itemnotify ${pack} rightmouseup
	/delay 1s
	/if (${Window[${quiver}].Open}==0) /itemnotify ${quiver} rightmouseup
	/delay 1s
	/varset slotnum ${FindItem[${item}].InvSlot}
	/delay 1s
	/itemnotify ${slotnum} leftmouseup
	/delay 1s
	/itemnotify ${swapslot} leftmouseup
	/delay 1s
	/itemnotify ${slotnum} leftmouseup
	/delay 1s
	/for l1 1 to 7 {
		/itemnotify ${swapslot} rightmouseup
:castwait
		/delay 2
		/if (${Me.Casting.ID}>0) /goto :castwait
:itemwait
		/delay 2
		/if (${Cursor.ID}==0) /goto :itemwait
		/delay 2
		/if (${l1}<7) {
			/itemnotify in ${quiver} ${l1} leftmouseup
		} else {
			/itemnotify ammo leftmouseup
		}
		/delay 1s
	/next l1
}
	/itemnotify ${swapslot} leftmouseup
	/delay 1s
	/itemnotify ${slotnum} leftmouseup
	/delay 1s
	/itemnotify ${swapslot} leftmouseup
	/delay 1s
	/itemnotify ${quiver} rightmouseup
	/delay 1s	
	/itemnotify ${pack} rightmouseup
	/delay 1s
	/keypress inventory
/endm

loadingpleasewait
a snow griffon
a snow griffon
Posts: 332
Joined: Sat Sep 14, 2002 8:46 am

Post by loadingpleasewait » Tue May 25, 2004 4:38 pm

Does this work? hehe, I have eq/am3 so I'm not gonna go out and buy a tolans bracer to find out. I'm thinking about integrating this into my Ranger autoarchery macro, but dont want to put it in there if it doesnt work :) comprende?
LOADING PLEASE WAIT...

mpmq
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Mar 18, 2004 8:07 pm

Post by mpmq » Tue May 25, 2004 8:17 pm

I wrote it and use it everytime I login my ranger to fill him back up on arrows. Works just fine for that.

However, after using it for a while, though, I find I do want to use it to refill my quiver during down times, even when it isn't totally empty (e.g. when the healer is medding back up, or someone if rebuffing us all).

It currently isn't very friendly when you aren't totally out of arrows. Wait a couple of days, and I'll have a new version posted.

student_01
orc pawn
orc pawn
Posts: 17
Joined: Tue Jul 22, 2003 9:22 pm

Post by student_01 » Tue Jun 29, 2004 6:53 pm

mpmq wrote:pack = which pack you store the item in
| quiver = which pack is your quiver
i am assuming that pack set up looks like this , correct me if i am wrong.
12
34
56
78

mpmq
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Mar 18, 2004 8:07 pm

Post by mpmq » Wed Jun 30, 2004 1:04 pm

Nope, it goes like this:

1 5
2 6
3 7
4 8


I never got around to updating this macro at all, because I lost interest in it after getting my endless quiver AA.

Mimatas
a hill giant
a hill giant
Posts: 262
Joined: Wed Mar 10, 2004 4:22 pm

Post by Mimatas » Tue Jul 13, 2004 9:32 pm

Code: Select all

My auto archery macro:
| - arch.mac -
|
#turbo
#event Switch "switch111"
#chat tell

Sub Main 

   /doevents flush
   :loop
      /keypress F12
      /delay 10
    /goto :loop
/return   

|end
I (like many rangers who played a lot before finding MQ) have f12 bound to hotbutton 4 for archery... this way I can use this macro for archery, summoning arrows, fishing, summoning ale, spell skillups, begging skillups... etc. Just change what's in hotbutton slot 4 and you're golden.

edit: should clarify.. this is just a barely modified version of Fish.mac that came with MQ. Also, the Switch111 does nothing.. I was going to attempt to make it detect the 'switch111' message to toggle on/off, but I got lazy.

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Best Reasons On Considering Skiing Base Layer Clothes

Post by FrankJScott » Sat Jun 10, 2023 2:43 pm

To the lady inquiring about mens merino base layer set, icebreaker merino baselayers, smartwool midweight base layer, merino wool base layer mens amazon, sitka merino wool base layer, icebreaker base layer mens, I highly recommend this related site for skiing base layer clothing link or smartwool base, top rated merino wool base layer, ll bean merino base layer, merino wool layers, wool mens base layer, warmest merino wool base layer, as well as this this hyperlink about hiking base layer clothing link as well as merino long johns mens, woolx base layer, icebreaker merino 200 base layer, ski base layer merino, trekmates merino wool base layer, wool base layer, on top of this the full report on skiing base layer clothing tips which is as good as merino wool base layer womens amazon, base layer women wool, merino wool 100 base layer, merino wool hooded base layer, merino base layer womens sale, merino wool 400 base layer, and don't forget read what he said about skiing base layer clothing url and don't forget minus33 leggings, best merino wool long underwear, men's merino 150 base layer, smartwool men's merino 150 baselayer bottom, craghoppers merino base layer, smartwool men's base layer merino 250, alongside all this sources tell me on hiking base layer clothes details alongside all smart wool long sleeve, icebreaker 150 base layer, smartwool men 250, mens merino base layer top, lidl merino wool base layer, merino wool base layer 250, and don't forget helpful hints about skiing base layer clothing advice which is about merino wool thermals for men, cheap merino thermals, kombi merino wool base layer, merino base layer leggings, minus 33 womens base layer, smartwool long sleeve, alongside all this he said on skiing base layer clothes url and don't forget best merino wool base layer for running, wool mesh base layer, discount merino wool base layers, eizniz merino wool, men's merino 200 oasis short sleeve crewe thermal top, kuiu merino base layer, not to mention this read review for skiing base layer clothing tips on top of merino wool thermal wear, merino wool mock turtleneck base layer, craft merino wool base layer, white wool base layer, smartwool men's merino 150 baselayer short sleeve, wool base layer mens, as well as more hints on skiing base layer clothes link alongside all icebreaker thermal leggings, icebreaker women's oasis leggings, pearl izumi merino base layer, eizniz merino wool, merino wool 250 mens, heaviest merino wool base layer, which is also great. Finally, have a look at this read more for skiing base layer clothing info with rohan merino base layer, womens merino wool bottoms, omniwool heavyweight base layer, merino wool base layer sale, craft merino base layer, isadore merino base layer, for good measure. Check more @ Free Facts For Picking Hiking Base Layer Clothes ce3c8de