EZ Server

General Category => General Discussion => Topic started by: red2 on June 30, 2013, 01:41:09 pm



Title: MQ2 macros
Post by: red2 on June 30, 2013, 01:41:09 pm
my "loot" button
/target corpse
/stick 5
/loot


"attack" button
/bca //target id ${Target.ID}
/bca //stick 12 UW behind
/bcaa //attack on
/bcaa //pet attack

"lead"
/bca //target Main_Tank_Name
/bca //stick behind 15 UW
/bcaa //pet follow
/bcaa //pet hold

"grpinvite"
/multiline ; /invite toon1; /invite toon2; /invite toon3;
/bca //invite

"enterraid"
/bcaa /say enter raid
multiline ; /delay 3s; /say enter raid; /delay 9s;
/bca //notify largedialogwindow LDW_OkButton leftmouseup



Title: Re: MQ2 macros
Post by: Kwai on June 30, 2013, 02:14:19 pm
/delay works in hot keys?


Title: Re: MQ2 macros
Post by: red2 on June 30, 2013, 02:25:43 pm
delay rocks!
yes it works, even with multiline


Title: Re: MQ2 macros
Post by: Anuli on June 30, 2013, 04:15:44 pm
Ok since the baby is sleeping ill tell you what i do with channels.

All people with pets should have pet channel
All ppl with whom you wish to punch with should be in a dps channel
All tanks should be in a tank channel
All casters in caster channel.
All healers in a heal channel

/bccmd channels tank
/bccmd channels dps pet
/bccmd channels caster pet dps
/bccmd channels tank heal

So for BST he would be all 3 channels since he both casts, has a pet, and does dps
Clerics Paladins and Shaman are in /bccmd channels tank heal because I want them to attack from the beginning and for the occasional heal.

Attack:

/bca //Target ID ${Target.ID}
/bct tank //multiline ; /stick front 5 uw ; /attack on

Seperate button for non tank people:

/multiline ; /bct dps //target ID ${Target.ID} ; /bct pet //target ID ${Target.ID} ; /bct caster //target ID ${Target.ID}
/bct dps // multiline ; /stick behind 5 uw ; /attack on
/bct pet //pet attack

Long Term Buffs:
/bca //keypress 0
/cast 5
/itemnotify 21 rightmouseup
(as an example for the main who also has things to click or cast)

on all toons I have a seperate macro that will do commands specific to the toons. Bard has /twist 10 1 2 3 4
warrior has /twist 10 11 12 for his SoA, epic 2hs, and exp pot
Things like that. all the major buffs you want, you can even do
/multiline ; /cast 3 ; /delay 3s ; /cast 8

Specifically for the chanter I have
/multiline ; /tar Anuli ; /cast 3 ; /delay 3s ; /cast 5 ; /delay 4s
/multiline ; /tar Ellone ; /cast 3 ; /delay 3s ; /cast 5 ; /delay 4s
/multiline ; /tar Stevphen ; /cast 3 ; /delay 3s ; /cast 5 ; /delay 4s
/multiline ; /tar Bubblesz ; /cast 3 ; /delay 3s ; /cast 5 ; /delay 4s

That way all of my teams have both the vampiric thunder and whatever the other buff is on all 4 groups.
/tgb on makes it so you can target a group leader in another group and group buff them

Short Duration Buffs
key 9 is the short duration buffs that last 2 minutes or less, just a
/bcaa //keypress 9
Useful for kraken and  Gift of Annhi

Nuke:
Now casters are in their own group because I have
/bct casters //keypress 7

Wizard key 7 macro:
/cast "Yamakagis fiery inferno II"

and everyone else with good nukes like chanter and mage have their spells on key 7.

You may also be able to do
/casting "Yamakagis yadayada" gem3 -kill
Though I'm not sure if that one is legal. Ill edit this if it is or isnt and say yay or neigh on which to use but for now just pressing your key  7 nuke should suffice.

Follow:
/bcaa //stick ID ${Me.ID}
/bct pet //multiline ; /pet hold ; /pet follow

Everyone will follow you whether or not they have you as a target.

Heal:
/bct heal //keypress 5

for Cleric that would be /cast "Word of Vivication"
for everyone else they all have a heal spell

Another tip would be to save all of your spell gem sets to main. If anyone dies its a simple macro to keep on a second bar:
/bcaa //memspellset main

Loot:
/tar corpse
/stick 5
/pause 5
/loot

As for whom is in what channel is up to you. if you want your wizard to punch people, stick him(or her) in dps channel. After a while if you are all auged out on every toon you may just have everyone in the dps channel as well as their respective channel.

Tanks I keep in their own channel so that I may focus them on someone else like the main boss and have the other channels kill adds separately. To each his own and this is just one strategy. What you decide to do for your keys and separate toon macros is completely up to you! I hope this helps.

-Anuli


Title: Re: MQ2 macros
Post by: Fliker on June 30, 2013, 06:00:54 pm
Wow, didn't leave anything out there did ya?
Just gave it all away at once =D

Good post Anuli


Title: Re: MQ2 macros
Post by: Gilthanas on July 01, 2013, 12:32:41 pm
This is a good idea for a thread.

Here are some that I use to quickly get all my characters into the action:

NexusAll - Sends all characters to the nexus
    1. Put your boots on a hotkey in the same slot for every character
    2. Have a macro button for /bca //kepress #(whichever key would use the boots)

Buff Bot - 2 buttons that get you buffed once you're in the nexus
    First Button:
        1. /bca //tar buff
        2. /bca //stick

    Second Button (once toons have run to buff bot):
        1. /bca //say buffs

Navigate to custom zones - 2 buttons that send you to custom zones
     First Button:
        1. /bca //tar universal
        2. /bca //stick

     Second Button (you'll have to make one of these for each custom zone you regularly visit)
        1. /bca //say [name of zone]

Spells - Memorizes spellsets
     1. For all casters with spellsets, save the spellsets as the same name like 'main'
     2. /bca //memspellset main

I look forward to seeing the little tricks other people use to make life easier.


Title: Re: MQ2 macros
Post by: Dreyitt on July 01, 2013, 02:18:08 pm
the only hotkey i use is "/tell fugitive free stuff please im new here" and it works to great success.


Title: Re: MQ2 macros
Post by: Fliker on July 01, 2013, 04:02:59 pm
the only hotkey i use is "/tell fugitive free stuff please im new here" and it works to great success.

LMAO
/bridseed


Title: Re: MQ2 macros
Post by: Fugitive on July 01, 2013, 04:18:06 pm
the only hotkey i use is "/tell fugitive free stuff please im new here" and it works to great success.

!!!


Title: Re: MQ2 macros
Post by: lookin on July 01, 2013, 04:39:07 pm
for your nexus gate just use item notify

here is a link to how to use and what slots are named

http://www.macroquest2.com/wiki/index.php/Itemnotify


Title: Re: MQ2 macros
Post by: Anuli on July 01, 2013, 06:57:10 pm
I should have put that in mine for the zone to nexus.
/bcaa //itemnotify 19 rightmouseup

or

/bcaa //itemnotify feet rightmouseup

That will click your feet slot on everyone without making it take up keyspace.
/tar univ /stick5 and /say zone you can just do when you are there, no sense making it a macro :p


Title: Re: MQ2 macros
Post by: Felony on July 01, 2013, 08:42:51 pm
Yeah memorize some key item slot names and item id and just /bcaa as needed.
/bcaa //casting 120001|item etc etc


Title: Re: MQ2 macros
Post by: balidet on January 21, 2014, 04:48:38 pm
I have recently created a .cfg file and dropped it into my MQ folder for nexus{all my toons are bound here} the contents consist of this

/memspellset main

so if my poor toons should die...they will automatically mem all spells when they appear in nexus...

I also added a rezz button that will make all toons click the yes button on the rez window when it is up...

Just a handy little thing you can do to make life better.



Title: Re: MQ2 macros
Post by: Saphien on February 15, 2014, 12:02:37 pm
Can we see this CFG file? :)


Title: Re: MQ2 macros
Post by: Blurring on February 16, 2014, 07:41:31 am
To make a config to do this in nexus.

Open a new text document. Add whatever you want the toons to do every time they zone into nexus. In this case it would just be one line:
/memspellset main

Then save the document as
nexus.cfg

You then want to put the file into your Configs folder in your MQ2 Folder. If it doesn't exist you'll need to create it. The 'Configs' (not sure if capitalization matters but probably does) folder should be in the same place as your MacroQuest2.exe


Title: Re: MQ2 macros
Post by: Rent Due on February 16, 2014, 09:05:31 am
+86

cool idea  ::)


Title: Re: MQ2 macros
Post by: Saphien on February 16, 2014, 09:09:59 am
What would you add to make toons accept rezzes automatically as well?


Title: Re: MQ2 macros
Post by: Blurring on February 16, 2014, 11:57:27 am
You couldn't really use a config to do this (since the code is only run once when you zone in, before a rez lands most likely). Not sure how Hunter would feel about MQ2 code to automatically accept a rez either. My guess is that he doesn't like any sentence with MQ2 and automation in it.

Here is a command you could put in a hotkey to have all characters accept a rez though:
/bcaa //notify ConfirmationDialogBox Yes_Button leftmouseup

The rez window is the ConfirmationDialogBox, but there are other things that use this as well. I can't recall off the top of my head exactly what, but clicking this button will cause all toons to click yes regardless. So if for example the confirmation prompt to delete an item was open, and it used ConfirmationDialogBox, that bcaa command would cause them to click yes. So don't click the button if you don't know what your toons are doing.


Title: Re: MQ2 macros
Post by: Chunka on February 16, 2014, 12:24:39 pm
I bound all my chars in an out of the way spot by the guild hall buffbot (behind, along the wall for example). Then I of course set up an ilsallina.cfg file with /memspellset main as the contents, making sure ALL my casting classes had "main" as the name of their primary spell set. Then my hotkey for rez was:

/multiline ;  /bcaa //tar buff ; /bcaa //keypress h ; /bcaa //nomodkey /notify ConfirmationDialogBox Yes_Button leftmouseup ; /bcaa //keypress h

So.....if some of the team die, or if I had to run someone back to CR, I click the AE rez clicky, then hit that hotbutton. This rezzed my team with all spells memmed and with full buffbot buffs. Could also do a hotkey that first summoned pets on all pet classes, too, if you liked, so pets landed bot buffed as well. And per Hate as far as he knew hailing the buffbot on the way during a rez wasnt against regs. Perhaps Hunter could confirm.


Title: Re: MQ2 macros
Post by: Felony on February 19, 2014, 10:53:40 am
Hailing for buffs during rez has been on the server since the start.
If Hunter intended it or not is another story. No one else can speak for that.


Title: Re: MQ2 macros
Post by: balidet on February 27, 2014, 11:48:07 am
so you can rez and keep buffs?


Title: Re: MQ2 macros
Post by: Chunka on February 27, 2014, 11:59:05 am
If you hail as you click rez, or just after, you will land buffed. This is why you will sometimes see people hailing buffbot multiple times and vanishing.


Title: Re: MQ2 macros
Post by: Chunka on April 08, 2014, 02:36:08 pm
Ok, per request including my key setups here. Not saying this is what you should use, just that this is what works for me.

First, I make every box have the same number key (in my case hotkey #6) all set up to click epics, other clickies, cast group or ST heals, cast nukes, debuffs, short term combat buffs, etc....all on one key. Can multiline it for cast delays, whatever....but it works.

Examples:

zerker: using /keypress on my 6 hotkey, I click epic, activate vengeful flurry, cry havoc and zerker T7 check click.
druid: using /keypress on my 6 hotkey I cast group heal, cast tempest wind and click epic. I have another key set up JUST to regen the group and drop Drake on my warrior.
chanter: /keypress 6 from the warrior makes my chanty cast tash, polarity flux, breathless and insanity
cleric: hotkey 6 is set to click epic (mega heal), cast word of viv, cast tower of vie

Anyway, you get the idea. All this happens from a single button click on the warrior. This way its timed properly to manage positioning and agro control.

The key setup on my warrior is:

/bca //assist <tankname>
/bca //stick behindonce moveback uw 15
/bca //keypress 6
/bca //pet attack

Pretty simple. I like assist better than the whole ID thing....works better for me. I can spam this button all I want during combat and stuff dies pretty fast.

My follow key is a little more than basic, too.

/bca //target <main>
/bca //stick behindonce moveback uw 15
/bca //pet hold

druid extra key on warrior:

/bct druid //target tank
/bct druid //cast # for skin of drake
/bct druid //cast # for biggest regen

Then go pull! Also can cast this during combat as needed

Rez key (works best with group rez clicky). To start bind all your characters within hailing distance of the raid buffer in the guild halls.....out of the way so you dont block for other people (mine are bound against the wall). When you are rezzing characters, click the rez clicky, then click this hotkey:

/multiline ;  /bcaa //tar buff ; /bcaa //keypress h ; /bcaa //nomodkey /notify ConfirmationDialogBox Yes_Button leftmouseup ; /bcaa //keypress h

You'll have all your dead chars land fully buffed!

Thats some that I use. Hope it helps.


Title: Re: MQ2 macros
Post by: balidet on April 08, 2014, 03:54:43 pm
Multiline ..learn it..use it...love it...

/bct Druid //multiline ; /target tank; /cast #(SLN); /cast #(regen); /ass

druid will target main tank...cast spell # whatever (has long refresh) tap button again...he will cast the second spell(first is on refresh remember!) .....So if you chose the spells wisely you can have them cast any long combo of prep spells you want...I mainly use it on my toons as I am pulling that massive train so he gets a fresh Skin as he runs into the group and then shortly after a fresh regen...also have clerics and chanters ect casting various stonewall buffs and runes ...GOA....whatever I want.... all tied to one INC! hotkey...ones Skin fades I hit furious clicky and with my GOA zerk the train is usually dead before the furious fades...works good..at least in t6...


Title: Re: MQ2 macros
Post by: Ugazel on January 01, 2015, 10:02:54 pm
Move to me command is one that I pulled over from Live when I was playing it, handy if you want your toons to just move to you and not follow you

/bca //Moveto Loc ${Me.Loc} ${Me.Z}


Title: Re: MQ2 macros
Post by: Chunka on January 01, 2015, 10:11:58 pm
The end bracket should be }, not ] :D


Title: Re: MQ2 macros
Post by: Darpey on January 02, 2015, 08:21:19 am
Just a heads up - there's an article on wiki under 'guides' with MQ examples

http://www.ezserverwiki.com/MacroQuest (http://www.ezserverwiki.com/MacroQuest)


Title: Re: MQ2 macros
Post by: wendel on April 19, 2015, 08:37:46 pm
Here is my contribution:

I have a big stack of crystals to hand in, but it's a pain switching windows to do so I created a Macro on the toon that will do the handin(stand close to the handinnpc
I then made this a hotkey...
Then you make a hotkey on your main toon /bct handintoonname //keypress 8

Code:
/ctrl /itemnotify ${FindItem[=Name of what you want].Invslot} LeftMouseUp
/target mobspawnningNPC
/click left target
/notify FiveWnd GVW_Give_Button LeftMouseUP

Worked very well for me, but like anything you should be careful and test it yourself, you would not be re-reimbursed if this messes up




Title: Re: MQ2 macros
Post by: Kruciel on August 11, 2015, 01:59:37 pm
Bumping this to share my macros while I copy them over to the new client from UF  :o

In no specific order here we go!

Forming the raid: After making a hotkey such as this one~ /invite toon_1 /invite toon_2 /invite toon_3 /invite toon_4 /invite toon_5 , make the same key for your second group's leader and however many other groups you want. Assign all Group Leaders to the MQ2 autogroup plugin so all invites and raid invites are automatically accepted. This command is simply /autogroup Leader_Name. After assigning the invite keys to the "8" hotkey, you can use this nifty little macro. And there you have it, full 18 man raid formed within seconds of logging in.

/bct Crucielz //keypress 8
/bct Krucielz //keypress 8
/timed 20 /raidinvite Crucielz
/timed 20 /raidinvite Krucielz

Another useful login macro:

/bcaa //hidec looted

A few wipe recovery macros:

/bca //memspellset demspellz
Note: just save all casters spell lists as the same name for this one to work

/bcaa //notify ConfirmationDialogBox Yes_Button leftmouseup
Auto accepts all rez windows

/bca //tar ID ${Target.ID}
Just a stand alone "target my target" button, mostly for using the Universal Teleporters.

/bct Krusham //tar ID ${Me.ID}
/bct Krusham //multiline ; /cast 2 ; /cast 1 ; /cast 6
Tells my shaman to target me and cast Grudge, Kraken 2, and Champion.

/bct Krucielz //tar ID ${Me.ID}
/bct Krucielz //multiline ; /cast 2 ; /cast 9
Tells my cleric to target me and cast his Stonewall and Over Raided Healing 2.

/bct assist //keypress 2
Tells my melee to use all short buffs / clickys. Monk uses t3 clicky, zerkers use t3 clicky, paladins cast their temporary proc buff, bards begin their twist.

/bct Crucielz //stick id ${Me.ID} !front uw
/bct Krucielz //stick id ${Me.ID} !front uw
Tells only my other 2 group leaders to follow me, then we group coh later.

/keypress 7
/bct Crucielz //keypress 4
/bct Krucielz //keypress 4
All 3 group leaders use group CoH clicky

/bca //twist off
/bcaa //itemnotify feet rightmouseup
All characters gate to nexus

/bca //twist off
/bcaa //itemnotify waist rightmouseup
All characters gate to stone hive

/bct Kruciely //multiline ; /target id ${Me.ID} ; /cast 3 ; /cast 7
Tells druid to target me and cast skin / regen

/bct Cruciely //target id ${Me.ID}
/bct Cruciely //cast 4
Tells my mage to CoH me

/maphide npc
/mapshow wisp
/highlight npc
Hides all npcs from the map that aren't wisps

/bca //keypress 0
Tells all boxes to use Fastest Speed clicky




Title: Re: MQ2 macros
Post by: balidet on August 11, 2015, 02:28:58 pm
Handy and close what I have... a few suggestions..

Quote
/bca //memspellset demspellz
Note: just save all casters spell lists as the same name for this one to work

Create a CGF or config file with this command and drop it into your MQ folder under the zone name nexus and it will auto execute this whenever they zone into nexus.. .ie. Death .. so when you do rez them they come back ready to party

go to notepad and make a file named nexus and then enter
 /memespellset main   
where as main is just what I call them for all toons.

Quote
/bct Krusham //tar ID ${Me.ID}
/bct Krusham //multiline ; /cast 2 ; /cast 1 ; /cast 6
Tells my shaman to target me and cast Grudge, Kraken 2, and Champion.

/bct Krucielz //tar ID ${Me.ID}
/bct Krucielz //multiline ; /cast 2 ; /cast 9
Tells my cleric to target me and cast his Stonewall and Over Raided Healing 2.

/bct assist //keypress 2
Tells my melee to use all short buffs / clickys. Monk uses t3 clicky, zerkers use t3 clicky, paladins cast their temporary proc buff, bards begin their twist.

all of this can be done if you just attach all of yer spells in the same order... so top 2 spells on all casters are buff/regen/DS whatever then you just add the line
/bca //mulitline ; /target Maintankname; /cast 1; /cast 2; /keypress 1; /doability whatever;

all the same function (yes you can use yer fancy target me id number thingy but My main tank and puller cant keep a pet alive(damn you oblivion!) anyway so just get the buff and send him off anyway.

so when I am inbound with a pull i get the every short duration, regen. stonewall, rune whatever my toons can cast right before the mobs get to me... lets me solo tank everything long enough to make sure no wanky last second adds to eat healers and seems to work really well.

Quote
/maphide npc
/mapshow wisp
/highlight npc
Hides all npcs from the map that aren't wisps

also totally doable with CGF file ...  pretty much anything can be done with that if its one line of code

do file name jaggedpine
/maphide npc
/mapshow wisp

I pretty much have these in every zone i go to and use them to eliminate the spam I dont want to see..IE the good guys in oldcommons are just map spam...along with the scarabs ect... if I dont want to kill it i hide it....


Title: Re: MQ2 macros
Post by: Kruciel on August 11, 2015, 04:09:46 pm
I cannot do /target Maintankname :( I have to do the fancy code, because I have too many dumbass similar toon names. AKA /target Kruciel might target my druid or my cleric or my warrior.  >:(


Title: Re: MQ2 macros
Post by: Chieftan on August 11, 2015, 07:06:18 pm
You could use /tar =Kruciel - if you wanted to use it
that would only target the one toon, as name has to be exact, works on NPC's so should work on PC's


Title: Re: MQ2 macros
Post by: hateborne on August 11, 2015, 07:18:23 pm
I cannot do /target Maintankname :( I have to do the fancy code, because I have too many dumbass similar toon names. AKA /target Kruciel might target my druid or my cleric or my warrior.  >:(

Code:
/tar ${Me.ID}
/tar ${Me.Name}

Will work too. ${Me.Name} should return Kruciel000. If you're not running it from Kruciel, /tar Kruciel000 (since it's literally impossible to have duplicate character names).


-Hate


Title: Re: MQ2 macros
Post by: Kruciel on August 11, 2015, 07:22:06 pm
The way I do it already works guys, I was just responding to him saying I use a fancy code for my macros rather than just using /target Kruciel  ;D but thanks !


Title: Re: MQ2 macros
Post by: Kruciel on August 11, 2015, 07:23:56 pm
I might do a full write-up for this area if I get bored enough. So much good info sprawled across the pages in this thread, and yet there are people playing atm that don't even know what eqbc channels are! The humanity!


Title: Re: MQ2 macros
Post by: balidet on August 11, 2015, 08:06:00 pm
rofl i know right...

an hour spent cleaning up for hotkeys is an hour well spent:)


Title: Re: MQ2 macros
Post by: Natedog on August 11, 2015, 08:21:27 pm
/bcaa //ex

Best MQ2 macro for giving uber EXP buffs!


Title: Re: MQ2 macros
Post by: Rotic on August 11, 2015, 08:48:57 pm
You could use /tar =Kruciel - if you wanted to use it
that would only target the one toon, as name has to be exact, works on NPC's so should work on PC's

Works for me. Thanks!


Title: Re: MQ2 macros
Post by: barrettd04 on August 15, 2015, 05:36:39 am
/bcaa //ex

Best MQ2 macro for giving uber EXP buffs!

^


Title: Re: MQ2 macros
Post by: Eliseus on February 29, 2016, 02:59:29 pm
So I'm assuming some of you have something similar already to this, especially those with many UW that maybe farm this. I couldn't find anything on the forums though so figured I'd post this just in case it helps anyone else out with t3/t4. It's pretty tiresome to turn in 1000s of tokens.

T3
Code:
#turbo

Sub Main

/if (${FindItemCount[The Prince of Darkness Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[The Prince of Darkness Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[H-One N-One Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[H-One N-One Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Faceless Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[The Faceless Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Oceanlord Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[The Oceanlord Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[Split Paw Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[Split Paw Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Lightbringer Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[The Lightbringer Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Tranquil Quest Token]}>0) {
/ctrl /itemnotify ${FindItem[The Tranquil Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The MCP Quest Token]}>3) {
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
}

/return

T4
Code:
#turbo

Sub Main

/if (${FindItemCount[The Prince of Darkness Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[The Prince of Darkness Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[The Prince of Darkness Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[H-One N-One Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[H-One N-One Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[H-One N-One Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Faceless Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[The Faceless Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[The Faceless Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Oceanlord Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[The Oceanlord Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[The Oceanlord Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[Split Paw Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[Split Paw Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[Split Paw Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Lightbringer Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[The Lightbringer Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[The Lightbringer Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The Tranquil Quest Token]}>1) {
/ctrl /itemnotify ${FindItem[The Tranquil Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 1 leftmouseup
/delay 10
/ctrl /itemnotify ${FindItem[The Tranquil Quest Token].InvSlot} LeftMouseUp
/itemnotify in pack8 2 leftmouseup
/delay 10
/combine pack 8
/delay 10
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
} else /if (${FindItemCount[The MCP Quest Token]}>3) {
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/ctrl /itemnotify ${FindItem[The MCP Quest Token].InvSlot} LeftMouseUp
/target Observer
/click left target
/delay 10
/notify GiveWnd GVW_Give_Button LeftMouseUP
}

/return

Things to note: Change the delay in these to whatever you would like. If you make it too fast though it might not work. A magic box needs to be in the last bag slot. Basically this script will go through ALL your tokens for each token before going to the next. If you do not want this, change the number that is after the greater than/less than sign at the end of each if statement.  Sorry if there is unnecessary code. Still a beginner at this stuff. It works none-the-less. I created 2 hotkeys on Eliseus that sends a command through EQBC to my mage to run one of these macros.

If you find any errors let me know so I can fix it.

Edit: Fixed some spelling mistakes in code and added a turn in for MCP tokens.


Title: Re: MQ2 macros
Post by: balidet on February 29, 2016, 04:41:26 pm
yea unless something has changed (it may have)

this is a non script server...


so...


no automated tradeskills .. no automated fights... no automated turn-ins.....

thats my understanding at least...


Title: Re: MQ2 macros
Post by: Eliseus on February 29, 2016, 04:55:58 pm
yea unless something has changed (it may have)

this is a non script server...


so...


no automated tradeskills .. no automated fights... no automated turn-ins.....

thats my understanding at least...

Hmm I asked in /ooc first and people were saying this was okay since it isn't automated, if it is considered automated then I will take it down. But you must still press a command for your character trade. This isn't auto trading to the NPC. The only difference is you only have to put /macro "name" rather than /multiline in a hotkey which, from my understanding, can be used on this server to help other characters do things. The only thing that may be against the rules and I'm not necessarily sure is if statements so that it checks what tokens you still have left. There seems to already be similar things posted in this thread even that has other characters doing multiple things in the push of 1 hotkey button. Looking at the rules in fact don't state anything specifically about this type of macro since it isn't a bot,

Quote
NO BOT / AFK FARMING / AFK LOOTING
Do not use any programs to attack npc's for loot or exp, or go afk pet farming. Players caught bot farming or playing to farm, and then AFK to loot a zone's worth of kills will still be considered botters. Addition: This includes using Twist to spam abilities. If you want to use Twist to maintain the hellish combination of spells on your Bard, that's fine. Any bard ability (and class aug click) is fine for twist. Using it on other classes (e.g. cleric, berserker, druid, shaman, etc) is NOT approved.

and then this next one refers to combat, but this macro still doesn't do anything that can be inferred from this outside of combat either.

Quote
On the subject of macros and when/if they cross the line: If you are completing entire fights or clearing wings of a zone with a few clicks/presses, that's too much. If you can start your characters attacking and then go make a sandwich, that's too much. If pressing a few buttons will start numerous chained 1 action macros (daisy-chaining), it is still too much. If you hit 2 buttons to set your tank and melee characters into autoattack mode, that's fine as there is nothing special you are doing or nothing abusive. If you want to bot farm, go to Runescape or any other f2p MMORPG. If you want to play, kick back and have a good time.

Lastly, these rules are subject to change. Please check them frequently as ignorance of the rules will not prevent you from getting banned. We try to keep people posted as these change, but it doesn't always happen.

So I truly thought this isn't breaking the rules after reading the rules and discussion in ooc.


Title: Re: MQ2 macros
Post by: Dimur on February 29, 2016, 05:17:32 pm
I don't see what it would matter, it's just eliminating some of the mindless clicking involved in turning tokens in, not like you don't have to farm the tokens to begin with.


Title: Re: MQ2 macros
Post by: Eliseus on February 29, 2016, 10:23:19 pm
Caution using this also from experience today. If you are lagging, there is potential for it to not work properly resulting in trading excess tokens and losing them.


Title: Re: MQ2 macros
Post by: hateborne on March 02, 2016, 01:38:12 pm
Hmm, after seeing this. I may simply convert them to clickies this weekend. Restrict them to ONLY work in Plane of Air and put a cast time of ~2s (to prevent accidental consumption).

While it's fairly clean, I prefer automated turn ins not be mandatory for EZ.

Thoughts?


-Hate


Title: Re: MQ2 macros
Post by: balidet on March 02, 2016, 02:31:28 pm
that would be amazing!


Title: Re: MQ2 macros
Post by: Leis on March 02, 2016, 02:40:41 pm
Making them clickies would be awesome!


Title: Re: MQ2 macros
Post by: Eliseus on March 02, 2016, 03:26:55 pm
Hmm, after seeing this. I may simply convert them to clickies this weekend. Restrict them to ONLY work in Plane of Air and put a cast time of ~2s (to prevent accidental consumption).

While it's fairly clean, I prefer automated turn ins not be mandatory for EZ.

Thoughts?


-Hate

I think that is a great idea! It would allow to pop more than 1 at a time basically also, I can also get my popper in on the action since they won't be designated to just stand next to pop npc the entire time.


Title: Re: MQ2 macros
Post by: brixu on March 02, 2016, 04:24:14 pm
since you must turn in 1-2000 t4 tokens for 100 god major's, can you make a npc for mass turn in's combining all your t3 tokens to t4 tokens like the roa mass turn in?


Title: Re: MQ2 macros
Post by: balidet on March 02, 2016, 04:45:01 pm
I just had a vision of spawning 200 t4 mobs and then crashing the zone and depoping them all....


Title: Re: MQ2 macros
Post by: Eliseus on March 02, 2016, 05:03:58 pm
since you must turn in 1-2000 t4 tokens for 100 god major's, can you make a npc for mass turn in's combining all your t3 tokens to t4 tokens like the roa mass turn in?

This sounds like a great thing. Something with a warning that says all t3 tokens will be converted to t4 so that hopefully people don't come to hate for refunds if they screw up something.


Title: Re: MQ2 macros
Post by: Brannyn on March 03, 2016, 12:07:58 am
/bcaa //ex

Best MQ2 macro for giving uber EXP buffs!
huh never noticed this post before.
/ex does not work with my mq2, I have to /q or camp desk =P


Title: Re: MQ2 macros
Post by: Kobrakai Pwnstar on March 03, 2016, 01:32:09 pm
Anyone have a cleaner macro that would summon your boxes pets, target them and buff themselves that's more reliable than this one (works ~50-75% of the time on my boxes)?

/bca //use item x (don't remember the exact wording as I'm pretty much out the door for work but it clicks the pet in whatever bag/slot it's in)
/bca //keypress f1
/bca //keypress f1 (so it targets your pet)
/bca //say buffs


Title: Re: MQ2 macros
Post by: Eliseus on March 03, 2016, 02:22:31 pm
/useitem X Y
/stick 5 ID ${Me.Pet.ID}
/target ID ${Me.Pet.ID}
/say buff me

Now, if you want certain people to send pets away like not liking the familiars, put lines for /bct or /bca etc.... then /pet leave at the end.
The point of the stick in this is to make sure you are close enough for your pet to be responsive. Oh, can also put this in a multiline.


Title: Re: MQ2 macros
Post by: balidet on March 03, 2016, 03:26:40 pm
When you first summon a pet it is always in range to cast buffs on you.


If you want a toon to not have a pet out for some reason other than you can just do this;

/bcaa //itemnotify XXXX rightmouseup
/bcaa //keypress f1
/bcaa //say buff me
/bct nopet //pet leave

so create a bccmd channel for nopet and then have the toon or toons you dont want to fight with pets kill them off..


this works 100% and is what I have used for months.



Title: Re: MQ2 macros
Post by: Kobrakai Pwnstar on March 04, 2016, 01:21:30 pm
When you first summon a pet it is always in range to cast buffs on you.


If you want a toon to not have a pet out for some reason other than you can just do this;

/bcaa //itemnotify XXXX rightmouseup
/bcaa //keypress f1
/bcaa //say buff me
/bct nopet //pet leave

so create a bccmd channel for nopet and then have the toon or toons you dont want to fight with pets kill them off..


this works 100% and is what I have used for months.



See, that's what i've been doing essentially but it mostly likes to target themselves rather than the pet (reason why I put two keypress f1's in there to make it work more often)?

@Eliseus -

I think that's basically what I was looking for..do you use it often? Also, can that be multi lined? I'm just learning the ropes more of mq2 as I came from p99 and it wasn't allowed there.


Title: Re: MQ2 macros
Post by: Eliseus on March 04, 2016, 02:47:24 pm
When you first summon a pet it is always in range to cast buffs on you.


If you want a toon to not have a pet out for some reason other than you can just do this;

/bcaa //itemnotify XXXX rightmouseup
/bcaa //keypress f1
/bcaa //say buff me
/bct nopet //pet leave

so create a bccmd channel for nopet and then have the toon or toons you dont want to fight with pets kill them off..


this works 100% and is what I have used for months.



See, that's what i've been doing essentially but it mostly likes to target themselves rather than the pet (reason why I put two keypress f1's in there to make it work more often)?

@Eliseus -

I think that's basically what I was looking for..do you use it often? Also, can that be multi lined? I'm just learning the ropes more of mq2 as I came from p99 and it wasn't allowed there.

Actually after seeing this and typing out what i would do I created a similar hotkey. And yes it can be multiline, or create a macro (which isn't botting or anything, it's just a text file that you can do basically what you do with a hotkey, I just prefer it since it is easier to edit imo and I can write out stuff to read easier). Anyways, here is what I put. I put in delays so it might take a little longer, but I wanted to assure that it didn't fail.

Code:
	/useitem 21
/delay 2s
/target ID ${Me.Pet.ID}
/delay 1s
/say buff me
/delay 1s
/pet leave

At this point you can just do /macro name. For example mine is /macro buff

The multi line should be just

Code:
/multiline ; /useitem 21; /delay 2s ; /target ID ${Me.Pet.ID} ; /delay 1s ; /say buff me ; /delay 1s ; /pet leave

On jobs with pets already like a mage. You want I added /face fast and /stick 5 so that my mage would be in range.

Things I wanted to do but didn't know how is I wanted to also use this to arm my pet, but saying arm yourself didn't seem to work.

Also note, I don't know if that /multiline is 100% accurate. For some reason I can't get /multiline to work in game, I mean all the commands go off, but the delays don't work, but can get it to work in a macro. I don't know if there is a plugin I'm missing to be able to use in game?

Make sure to add /noparse before /bca when sending command to all characters.


Title: Re: MQ2 macros
Post by: balidet on March 04, 2016, 03:23:10 pm
yes you can multiline it and you do need 2 f1 commands..

I use this all the time


Title: Re: MQ2 macros
Post by: Blurring on June 20, 2016, 04:24:24 pm
/mac t10quest

Output to MQ2 window current status of T10 kill quest.


Title: Re: MQ2 macros
Post by: walk2k on June 29, 2016, 12:29:48 pm
/pause or /delay?

so I'm having trouble with my druid..
what I want to do is, when I send my toons to attack.
1. cast group regen
2. cast nuke(s)

problem is the group regen takes 2-3 seconds to cast, and then locks out the spell gems (cooldown, whatever) for another second.
I've tried /delay X
what exactly is X, seconds? milliseconds what?
can't get it to work.. it casts the regen and then will say "you can't do that right now" or so..


Title: Re: MQ2 macros
Post by: balidet on June 29, 2016, 12:46:47 pm
depends on how you do it...


I would cast the group regen and then spam the nuke....how I do that is simple;

/bccmd Natur //cast 1; //cast 2


no delay or fancy foot work... when the first spell gem is on cool down the second one will cast... so i just spam the button and i get a few extra regen casts sure...nut who cares right?

you can get fancy but just cast the long delay spell first.. then the short recast one second... and spam away on the button...


Title: Re: MQ2 macros
Post by: Kelordis on June 29, 2016, 06:24:36 pm
/delay is second
/pause is millisecond



Title: Re: MQ2 macros
Post by: Blurring on June 30, 2016, 09:32:34 am
They are both in tenths of a second.

/delay is very accurate and I would recommend always using it over /pause.


Title: Re: MQ2 macros
Post by: walk2k on June 30, 2016, 05:45:36 pm
druid regen needs about 3.5 seconds to refresh gems
so that would be /delay 35 yes? or 40 to be sure...


Title: Re: MQ2 macros
Post by: walk2k on June 30, 2016, 05:53:43 pm
ok.. /delay doesn't work. doesnt matter what I put in there /delay 2 or /delay 50000 (fifty thousand) both pause about 1.5 to 2 seconds. which is not enough..

using /pause 40 works... seems to actually pause about 5-6 seconds but..


Title: Re: MQ2 macros
Post by: Blurring on July 02, 2016, 07:51:54 am
Sorry Walk I was a little hasty in my response earlier. Here is a short novel on the uses of /pause, /delay, and /timed :)

The difference is that /pause is an Everquest command, designed to work with hotkeys. /delay is an MQ2 command, which will halt MQ2 code. For hotkeys what you can use instead of /delay is /timed.

Keep in mind there is also a small built-in delay between each line of a hotkey. You can see this in action by making the hotkey:

/echo ${Time.SecondsSinceMidnight}
/delay 100
/echo ${Time.SecondsSinceMidnight}
/pause 100
/echo ${Time.SecondsSinceMidnight}

A few clicks will show the delay does nothing where we expect 10s, but the second echo is a second or so delayed. The pause 100 should be about accurate at 10 seconds.

I like to use /timed over /pause because it uses less lines and feels more precise. Here's how timed works:

/echo ${Time.SecondsSinceMidnight}
/timed 50 /echo ${Time.SecondsSinceMidnight}
/timed 100 /echo ${Time.SecondsSinceMidnight}

The timed command says, wait # tenths of a second, then issue the command that follows. So when you click that hotbutton, all 3 commands are entered at once, but certain ones are timed to execute later.

One way you can really clean up your timings is to use /timed and /multiline together.

/multiline ; /echo ${Time.SecondsSinceMidnight} ; /timed 30 /echo ${Time.SecondsSinceMidnight} ; /timed 60 /echo ${Time.SecondsSinceMidnight}

Because that command is issued on one line of a hotkey, there is no built-in hotkey delay to mess up the timings. Because it is all queued in MQ2, the timed works properly and exactly.


Title: Re: MQ2 macros
Post by: Rent Due on July 02, 2016, 08:42:44 am
That is awesome. I have never used /timed but I will be now.

Thanks Blarr


Title: Re: MQ2 macros
Post by: walk2k on August 24, 2016, 03:17:10 pm
so... I'm trying to get my chanter to send his pet, and cast 2 spells
his macro should look like this.

(first my control toon sends /bca //target *my target*, so they all have the assist target), then:

1. /stick 20 uw
2. /pet attack
3. /pause 20 (to let him finish moving into position, otherwise the spell below gets interrupted)
4. /cast 1 (tash)
5. /pause 30 (to let tash cast and gems to refresh)
6. /cast 2 (breathless DOT)

now obviously 6 lines is 1 too many.. so I tried

3. /multiline; /pause 20; /cast 1
4. /pause 30
5. /cast 2

the pause in the multiline is ignored, I tried /pause 200, pause 3000... it doesn't pause at all. tried /delay too, which doesnt ever work IMO. the pause on its own line does work.

also tried
2. /multiline; /pet attack; /delay 20
3. /cast 1

doesn't work either, again the pause on multiline is ignored.

any idears?


Title: Re: MQ2 macros
Post by: Ekiir on August 25, 2016, 05:24:43 am
I am not sure how multiline handles pauses, if at all - But, since you have 5 lines in a hotkey to work with, I would try something like this - Leave the pause out of the multiline :


/multiline ; /stick 20 uw; /pet attack
/pause 20
/cast 1
/pause 30
/cast 2

I don't know if the space " " between multiline and the semicolon in the first argument is vital, but it works in my macros


Title: Re: MQ2 macros
Post by: Blurring on August 25, 2016, 09:55:56 am
Sorry Walk I was a little hasty in my response earlier. Here is a short novel on the uses of /pause, /delay, and /timed :)

The difference is that /pause is an Everquest command, designed to work with hotkeys. /delay is an MQ2 command, which will halt MQ2 code. For hotkeys what you can use instead of /delay is /timed.

Keep in mind there is also a small built-in delay between each line of a hotkey. You can see this in action by making the hotkey:

/echo ${Time.SecondsSinceMidnight}
/delay 100
/echo ${Time.SecondsSinceMidnight}
/pause 100
/echo ${Time.SecondsSinceMidnight}

A few clicks will show the delay does nothing where we expect 10s, but the second echo is a second or so delayed. The pause 100 should be about accurate at 10 seconds.

I like to use /timed over /pause because it uses less lines and feels more precise. Here's how timed works:

/echo ${Time.SecondsSinceMidnight}
/timed 50 /echo ${Time.SecondsSinceMidnight}
/timed 100 /echo ${Time.SecondsSinceMidnight}

The timed command says, wait # tenths of a second, then issue the command that follows. So when you click that hotbutton, all 3 commands are entered at once, but certain ones are timed to execute later.

One way you can really clean up your timings is to use /timed and /multiline together.

/multiline ; /echo ${Time.SecondsSinceMidnight} ; /timed 30 /echo ${Time.SecondsSinceMidnight} ; /timed 60 /echo ${Time.SecondsSinceMidnight}

Because that command is issued on one line of a hotkey, there is no built-in hotkey delay to mess up the timings. Because it is all queued in MQ2, the timed works properly and exactly.

Two posts above yours...


Title: Re: MQ2 macros
Post by: walk2k on August 25, 2016, 11:32:01 pm
Ya, I tried /timed but it didn't work, but now I realized I was using it wrong, like it was multiline.. got it working now thx


Title: Re: MQ2 macros
Post by: Adydar on August 26, 2016, 07:17:11 am
Ya, I tried /timed but it didn't work, but now I realized I was using it wrong, like it was multiline.. got it working now thx

I'm currently on a hiatus, however, for posterity, and potentially helping someone else down the line, please post what your issue was and how you fixed it, could save someone else a headache later.


Title: Re: MQ2 macros
Post by: walk2k on August 26, 2016, 03:41:26 pm
yes. what I was doing was using multiline, like this

/multiline ; /timed 10; /cast 1

you don't need multiline, /timed is already sorta "multi line"

the correct usage is

/timed 10 /cast 1


so my chanters macro now looks like

/stick 20 uw
/pet attack
/timed 10 /cast 1
/timed 25 /cast 2


Title: Re: MQ2 macros
Post by: Artemis on August 27, 2016, 09:30:31 am
If you want to go the multiline route with /timed:

/multiline ; /bct ToonName //Target ID ${Target.ID} ; /bct ToonName //pet attack ; /bct ToonName //casting 28809 ; /bct ToonName //timed 60 /casting 5397 

This would cast the first spell, then send the pause to the toon followed by the second spell specifically /bct ToonName //timed 60 /casting 5397 as you have to send the /timed as a command to the character.
The numbers after /casting being the spell ID 

To add Stick to that:

/multiline ; /bct ToonName //Target ID ${Target.ID} ; /bct ToonName //pet attack ; /bct ToonName  //stick 12 ; /bct ToonName //casting 28809 ; /bct ToonName //timed 60 /casting 5397 


Title: Re: MQ2 macros
Post by: walk2k on August 29, 2016, 11:38:01 am
it would be very cumbersome to send individual commands like that to every toon in a raid (10+)

I just send one command from my tank/control toon (well, 2)

/bca //target (my target)
/bca //keypress 1

then each toon has a macro on key 1 that does different things depending on class/role..

thanks for the help all, I got it working well now :)


Title: Re: MQ2 macros
Post by: JLPicard on February 21, 2017, 04:03:29 pm
My favorite thread on this board, but I am having a problem trying to invite my 5 ALT toons and accept the invite all within one social.   I can't use 5 lines for individual /invite TOON and send a /bcaa //invite (this works) there aren't enough lines for all 5 toons so I tried using Multiline for the invites like this:

/multiline ; /invite TOONA ; /invite TOONB ; /invite TOONC ; /invite TOOND so on and so forth for all 5 toons... then:
/bcaa //invite

I get notification that I have invited these 5 toons, but none seem to get it, do not join, none of them are getting the invite it appears.


Title: Re: MQ2 macros
Post by: Kruciel on February 21, 2017, 04:21:00 pm
I recommend using the /autogroup command inside of mq2 for all your invite needs. Simply do an /autogroup yourname and your boxes will accept all invites from whatever name you type. I run three groups so I've added all 3 group leaders to the /autogroup list. This makes forming my raid as simple as a button inviting the first five, and another button that tells the other 2 group leaders to do /keypress 0, where there 0 keys are both macros that invite the 5 members of those groups.

When you add a character name to Autogroup, the rest of your clients must zone for  it to update on their mq2. If you don't want to zone back and forth to update it, you can instead issue a /bcaa //autogroup yourname to have them all just add the character to their lists immediately.

Basically it looks like this when i login.
Mash my button labeled 'invite'
/invite toon1
/invite toon2
/invite toon3
/invite toon4
/invite toon5

Mash my button labeled 'raid invite'
/bct groupleader2 //keypress 0 (makes the character use /invite toon7 /invite toon8 /invite toon9 /invite toon10 /invite toon11)
/bct groupleader3 //keypress 0 (makes the character use /invite toon13 /invite toon14 /invite toon15 /invite toon16 /invite toon17)
/timed 20 /raidinvite groupleader2
/timed 20 /raidinvite groupleader3


Title: Re: MQ2 macros
Post by: ZerarWarrior on February 21, 2017, 04:21:47 pm
Try adding a pause between the invites of the toons and the /bcaa //invite

like

Multiline.....
/pause 20
/bca //invite

Should work


Title: Re: MQ2 macros
Post by: JLPicard on February 21, 2017, 07:10:35 pm
I think Autogroup is VIP only download, I can't seem to locate it anywhere cept on MMOBugs and there, it's in VIP section.

Try adding a pause between the invites of the toons and the /bcaa //invite

like

Multiline.....
/pause 20
/bca //invite

Should work
I tried this but the only one that actually gets added is the last toon I invited on the multiline.


Title: Re: MQ2 macros
Post by: ZerarWarrior on February 21, 2017, 07:37:24 pm
Not that it helps the single button thing... but I have 2 group hot keys... one invites the five toons, all on their own lines, the other does /bca //invite

But I do it that way cause I run 18 toons... so each group leader invites their group... then from main screen I hot the group2 button that is the /bca //invite and bam....three groups made. then a raid invite hotkey... and my raid is all set.


Title: Re: MQ2 macros
Post by: Kruciel on February 21, 2017, 08:13:41 pm
Here's a standalone of the autogroup.dll for the RoF2 version of MQ2 if anyone wants it.

https://drive.google.com/open?id=0B3ZMPfs3tagAZUJoTkFNSzlaUWs

I remember getting the full compile from mmobugs long ago before they had any sort of restrictions or membership only nonsense.



Title: Re: MQ2 macros
Post by: JLPicard on February 22, 2017, 09:30:45 am
Here's a standalone of the autogroup.dll for the RoF2 version of MQ2 if anyone wants it.

https://drive.google.com/open?id=0B3ZMPfs3tagAZUJoTkFNSzlaUWs

I remember getting the full compile from mmobugs long ago before they had any sort of restrictions or membership only nonsense.


Yeah it's like $119 a year now if I recall.  Thanks for this worked great!


Title: Re: MQ2 macros
Post by: Bogreaper on May 01, 2017, 07:27:40 am
Well this is a mq2 macro thread... why not do it in an mq2 macro?

#turbo
Sub Main

/invite char1
/invite char2
/invite char3
/invite char4
/invite char5

/delay 1s

/bct char1 //keypress ctrl+I
/bct char2 //keypress ctrl+I
/bct char3 //keypress ctrl+I
/bct char4 //keypress ctrl+I
/bct char5 //keypress ctrl+I

/return


Remember when you run out of lines on a social, open notpad and put all the lines in a file, then just call that file from the socail

/macro groupupguys

Peace


Title: Re: MQ2 macros
Post by: blumblum on May 02, 2017, 07:58:09 am
why do such a macro when mq2 autogroup plugin will do it for you ?


Title: Re: MQ2 macros
Post by: Brannyn on May 03, 2017, 09:13:23 pm
I just have a hotkey on each group leader and then a raid invite hotkey on my war. do a bca //invite after sending out all the invites will cause them to accept the invites then just raid invite the group leaders and done.


Title: Re: MQ2 macros
Post by: gnonim on May 18, 2017, 07:53:21 pm
Does anyone have a macro for handing in shards to the Hive Queen or similar?


Title: Re: MQ2 macros
Post by: Bogreaper on May 19, 2017, 12:27:21 am
Something Similar.  Made this to turn in my d.minors when I did my last uw.

#turbo 20

Sub Main

  /target Essence
  /declare chips int local

:Loop
/for turninfour 1 to 4
   /ctrlkey /itemnotify ${FindItem[=Essence of Dragons Minor].InvSlot} leftmouseup
      /delay 2
      /click left target
      /delay 3
/next turninfour
/delay 2
/notify GiveWnd GVW_Give_Button leftmouseup

/return

Peace


Title: Re: MQ2 macros
Post by: blumblum on May 19, 2017, 01:57:50 am
hmm why do you use a macro for essences  & hive queen turn in. you can bulk trade, it's working well.


Title: Re: MQ2 macros
Post by: Bogreaper on May 19, 2017, 06:51:44 am
Not really sure........ Habit maybe?  From the UC2 and UC3 item turn in... click, u, click, u, click, u, click, u, give...sigh

peace


Title: Re: MQ2 macros
Post by: walk2k on May 19, 2017, 11:45:01 am
hive queen turn in. you can bulk trade, it's working well.
there is?


Title: Re: MQ2 macros
Post by: blumblum on May 19, 2017, 01:05:29 pm
unless i'm mistaken, you can trade with the hive queen a stack of berry
i'm doing it, never checked if i was credited for the good amount though, i assumed i was :)


Title: Re: MQ2 macros
Post by: gnonim on May 19, 2017, 08:01:39 pm
I run RoF2 and that functionality (bulk sale) has ever worked for me.  Just tried it now, and it basically locks up that player for a few minutes, then i can click on something.  But, it does not actually sell the shards to the Hive Queen when i click on the shards, then click on the available "Sell" button.


Title: Re: MQ2 macros
Post by: Dimur on May 19, 2017, 09:21:03 pm
Try just handing them into her through the trade interface and not sell window.  It worked last year and I doubt it's been disabled, but you can hand a couple singles in to make sure they update then hand stacks after confirming they do.


Title: Re: MQ2 macros
Post by: blumblum on May 19, 2017, 11:35:03 pm
indeed. i do it through the trade interface.


Title: Re: MQ2 macros
Post by: Skeezi on June 21, 2017, 08:04:57 pm
Wondering if anyone has a macro to autoclick yes on the delete instances for all toons or know how to set one up


Title: Re: MQ2 macros
Post by: Chieftan on June 22, 2017, 02:16:29 am
There is no command to click the links in the chat window, but you can click the "Yes" button in the dialog box the comes up when you click the "Delete All Instances" link
Which is what you wanted =)

/bcaa //notify LargeDialogWindow LDW_YesButton leftmouseup


Title: Re: MQ2 macros
Post by: Skeezi on June 22, 2017, 05:20:45 pm
Thank you sir


Title: Re: MQ2 macros
Post by: Pubis on October 22, 2018, 08:36:53 am
I've been trying to make a macro to make my necro better. In principle I'd just be happy if he cast death if the target didn't have death and cast epidemic if it does. I've been trying to do this with an If/else with this syntax:

/docommand ${if[${Target.Buff[death]}]},/casting epidemic,/casting death]}

But it doesn't work because it gives null. Replacing /docommand with /echo prints "Null" regardless of condition. The boolean works. If i just remove the if syntax like this:

/echo ${Target.Buff[death]}]}

This gives True or False depending on the condition. So what am I doing wrong with the If to make it give a Null output?


Title: Re: MQ2 macros
Post by: Dimur on October 22, 2018, 09:54:34 am
/docommand ${if[${Target.Buff[death]}]},/casting epidemic,/casting death]}

Looks like a bracket issue, you are closing the if after the comdition evaluates so it can't see what to do for true or false. Delete the two highlighted ones and try.


Title: Re: MQ2 macros
Post by: Pubis on October 22, 2018, 09:59:30 am
Oh sorry, that's my mistake I'm 99% sure. I think those weren't there in my script (I checked my brackets so many times). I'll double check when I get a chance.


Title: Re: MQ2 macros
Post by: Pubis on October 22, 2018, 12:04:24 pm
Yeah I butchered it bad. I skipped over the "bool" command when copying it.

/echo ${Bool[${Target.Buff[dead men floating]}]}

Gives true or false but

/echo ${if[${Bool[${Target.Buff[dead men floating]}]}, /sit, /stand]}

produces "NULL".

Basically I'm just trying to cut and paste the syntax of if around the working logic statement ${if[LOGICAL, True, False]}

Not sure why it's returning null... I'm using DMF just to test (and I can cast/click it off). I thought maybe my commands were written wrong or something... both echo and docommand give me either an echo of null or a "couldn't parse Null".


Title: Re: MQ2 macros
Post by: Dimur on October 22, 2018, 01:11:17 pm
The If needs to capitalized, in case it wasn't just a typo.

${Me}
${Target}
${InvSlot}
${Corpse}

^^^ Are all what MQ2 calls TopLevelObjects.  The TLOs are all case sensitive, so you have capitalize the first letter at the very least, and in some cases a letter in between (like InvSlot).  Not sure if that's the issue you are having with the If TLO, but it's something to consider for any piece of mq2 code.


Title: Re: MQ2 macros
Post by: Pubis on October 22, 2018, 06:20:19 pm
We have a winner! Thanks for your help Dimur. I can't believe how I squinted and counted brackets and curly braces for like 30 minutes last night.


Title: Re: MQ2 macros
Post by: Pubis on November 03, 2018, 10:29:52 am
I celebrated too soon.  The syntax appears to be right now, it can detect if I do or do not have DMF buff. The problem is, it can't detect DoTs on NPCs... I've tried with death and other more typical dots and it never triggers the true condition. It works if I cast the dots on me, but not on NPCs. Is it not possible to check if an NPC has a spell effect active?


Title: Re: MQ2 macros
Post by: Seipherwood on November 03, 2018, 07:18:10 pm
I dunno if this is allowed, but heres one i found for casting a debuff if its not on the mob already.

/if (!${Target.Buff[Mark of Emperors].ID}) /casting "Mark of Emperors"

if the mob has Mark of Emperors, it does nothing, if it doesnt, it casts it.

Maybe that would help you for necro? Not sure how you'd add more to it


Title: Re: MQ2 macros
Post by: Pubis on November 04, 2018, 11:22:24 am
Same thing, I even tried it with my cleric. The problem isn't with the syntax or the specific debuff, it just doesn't seem to be able to check NPC buffs/debuffs.

For instance if I just dig straight down to the logical check ${Target.Buff[Mark of Emporers].ID} echos 10081 on my cleric if I cast Mark of Emperors on him and Null if I don't. However, it always echoes Null on NPCs regardless if I cast it on them or not.

Does anyone have a working macro that succesfully checks NPC (de)buffs?


Title: Re: MQ2 macros
Post by: Nakemdun on November 04, 2018, 12:05:46 pm
On the wiki is a tab for Custom UI mods with a target window that has buff window. Shows all the buff on targets and what that targets target is. Works great. Might need to get leader aa. keypress L for leader window.


Title: Re: MQ2 macros
Post by: Pubis on November 04, 2018, 04:58:19 pm
I tried the custom target window. It does indeed display buffs for PC's but not NPCs. I don't think this is a display issue honestly. I can try the leader AA but none of them mention showing NPC buff/debuffs.

EDIT: Sure enough the leader skill "show buffs" works! However, one minor inconvenience I've found is that in a raid it seems that only the first group gets the benefit even if I have group 2 lead by someone with the show buffs group AA. Maybe I'm screwing something up, I don't know. I'm not sure I know how to assign someone as "group leader" in a raid (though he was group leader when I invited him to the raid


Title: Re: MQ2 macros
Post by: naimean on January 07, 2019, 04:31:52 pm
Hey everyone,

Long time listener, first time caller.  Looking for some help with a follow command or macro. I am running 2 groups, but frequently have one of the groups afk in the Nexus or Stonehive waiting to leech some Uber buffs.

 The problem with my follow command, is that when I use /bca,  My AFK  Group in another zone will begin running into a wall. (Probably targeting someone with the same ID as my tank.)

 So I would like this follow command or macro to check and see if the toon executing the follow command is in the same zone as the toon receiving the command. Maybe using a /noparse?

I worked out a way to do it using two different macros, but I think there is probably a simpler solution.

Thanks in advance,
     -Badonka



Title: Re: MQ2 macros
Post by: Warrchar on January 07, 2019, 05:13:32 pm
you want to create 2 chat channels and name them like group1 group2. then join the group 1 toons to group1 and group 2 to group2.

Then all your commands start with /bct group1 or /bct group2 followed by a //stick or //say //attack on etc.

example /bct group1 //say enter guild warriorname zone.



Title: Re: MQ2 macros
Post by: naimean on January 07, 2019, 07:36:03 pm
Got it working, Cannabilized Bog's assist macro from another thread.  

Macro 1 "Follow.mac" - If i'm not Badonka, have badonka run "follow2.mac" and send him 2 parameters: Me.ID & Zone.ID

Macro 2 "Follow2.mac" - if my Zone.ID matches the Zone.ID in the parameter sent, have him target the sending toons ID parameter

--------------------------------------------------------
Follow.mac

#turbo

Sub Main

   /if (${Me.CleanName.NotEqual[badonka]}) /bct badonka //macro follow2 ${Me.ID} ${Zone.ID}

--------------------------------------------------------
Follow2.mac

#turbo
Sub Main

/if (${Zone.ID}==${Param1}) /multiline ; /tar ID ${Param0} ; /timed 3 /stick 10 moveback
     /end

--------------------------------------------------------







Title: Re: MQ2 macros
Post by: Dimur on January 07, 2019, 08:25:30 pm
I'm guessing the parse error is operand syntax based, instead of one = sign use two ==.

There are a few ways you can check, but probably the easiest way is to use the Spawn object of mq2 to /bca a check for a spawn named Badonka that is a player character and check by ID...if you aren't in the zone with them, you won't show up on the list of spawns.

/bca //if (${Spawn[badonka pc].ID}) /multiline ; /tar id ${Spawn[badonka pc].ID} ; /timed 2 /stick

That should make them do a spawn search for you, if it sees you then it executes the multiline that targets you by ID (the most efficient way to do it with mq2, not that you'll see a performance hit doing it by string search) then delay .2 seconds to make sure you have a target and then making them stick to their target.


Title: Re: MQ2 macros
Post by: s0rcier on January 07, 2019, 09:13:20 pm
That code gave me an headache ... ouffff not sure what ya trying to achieve there!


Title: Re: MQ2 macros
Post by: naimean on January 07, 2019, 09:17:44 pm
Operand worked, thanks Dim!  Updated the macro above


Title: Re: MQ2 macros
Post by: mercarsist28 on February 02, 2021, 10:00:49 am
Question about macros, does anyone know if MQ2 has a macro that will insta accept a resurrection? Like as soon as the spell is finished casting it will click accept the rez and rez at the body?


Title: Re: MQ2 macros
Post by: Poker-ecaf on February 02, 2021, 12:01:47 pm
middle of fight accepting auto Rezz = lose ur defbuffs and be dead insta again ! 

/bca //notify ConfirnationDialogBox Yes_Buttom leftmouseup


Title: Re: MQ2 macros
Post by: Draca on February 02, 2021, 08:36:51 pm
Poker, I'm not trolling, but where are you from? I have no idea what you tried to say, other than providing the correct command for the rez accept. I'm assuming it's an english is a second language thing, or you just had a stroke..


Title: Re: MQ2 macros
Post by: Poker-ecaf on February 03, 2021, 08:44:37 am
english is my third lange, im from Germany

as more i need to write as more completicated it becomes ...

but what i want to say is " if u got an ur own body on the ground and pulling some shit and now some of ur army death u rezz them back u auto accept ur own rezz and insta u are dead again becouse of losing ur Deffbuff and maybe u getting backhits "

better u are using an hotkey for accept rezzes


Title: Re: MQ2 macros
Post by: mercarsist28 on February 03, 2021, 12:21:16 pm
Thank you for the help, i understood it perfectly.


Title: Re: MQ2 macros
Post by: Draca on February 03, 2021, 03:59:41 pm
Good deal.


Title: Re: MQ2 macros
Post by: Pele on April 05, 2021, 10:32:37 am
Hey, im trying to make my first macro.  Can anyone tell me why the following works when pasted into the 5 lines of a hotkey in EQ, but only fires off the first trigger when i call it with /mac?  Thank you!

Sub Main

/bct Warriar //itemnotify 13 rightmouseup

/bct Warriar //delay 1s

/bct Warriar //itemnotify 8 rightmouseup

/bct Warriar //delay 1s

/bct Warriar //doability "Commanding Voice"

/return


Title: Re: MQ2 macros
Post by: RedDwarf on April 05, 2021, 11:34:34 am
Are you running this from a different character, or from Warriar?

If from another char, that is the one who needs the delay. so remove the /bcts from delays, just have /delay 1s

If from Warriar, remove all the /bcts

mq will just send all commands at once over eqbc

Red


Title: Re: MQ2 macros
Post by: wachna on April 13, 2021, 03:32:15 am
Hey everyone,

1.
is it possible to create a hotkey / macro which does the "hail pet" stuff for each of my casters?
so I click the button, caster hails pet, gives buffs, weapons and keep up?

2.
I was trying the command from Pubis 2 pages earlier where he wants to cast epidemic if target got death on it ... but i don't get it to run ...
I want to cast Epidemic, if Death II is applied on Target. Can someone please help me with that?


Title: Re: MQ2 macros
Post by: RedDwarf on April 13, 2021, 07:16:10 am
1.
is it possible to create a hotkey / macro which does the "hail pet" stuff for each of my casters?
so I click the button, caster hails pet, gives buffs, weapons and keep up?

Something like this? - just a very basic macro
Make a hotkey on control char with /bct caster //mac >name< - assuming you have a channel called caster, name channel/macro whatever you want.

Sub Main
/tar ${Me.Pet}
/delay 5
/say arm yourself
/say arm yourself
/delay 5
/say keep up
/delay 5
/say buff me
/return

I know "arm yourself" is in twice, maybe just me, but doesn't work on first say or say link, remove one if yours works on first

Quote
2.
I was trying the command from Pubis 2 pages earlier where he wants to cast epidemic if target got death on it ... but i don't get it to run ...
I want to cast Epidemic, if Death II is applied on Target. Can someone please help me with that?

Sounds a bit like automation, necro casting spell on it own?
Would just do a macro to target control toons target and /cast 1 - death and /cast 2 - epidemic

Red


Title: Re: MQ2 macros
Post by: wachna on April 13, 2021, 12:52:18 pm
Well cool thank you. Will give it a try. Seems very solid and functionable to me

2. is what i am doing atm .. but i dont know how to set the pauses / delays correctly so that necro doesnt cast faster than the spells are ready lol

And yeah... I ALWAYS have to say arm yourself twice haha.

Do you still play. Never seen your name online since my comeback.


Title: Re: MQ2 macros
Post by: WatchYouDie on April 13, 2021, 04:29:57 pm
#turbo
Sub Main
/keypress p
/delay 1s
/tar ${Me.Pet}
/delay 1s
/say buffs
/say arm yourself
/delay 1s
/say arm yourself


/return

i use p for my pet on all toons


Title: Re: MQ2 macros
Post by: Sarthin on January 18, 2022, 04:01:46 pm
As requested I am posting a macro to hand in Rainbow Crystals. You may have to play around a bit with the delay if it's too fast. I like to put the crystals I'm transforming in the first open slot in my backpacks. You can change the pack # and slot # as you wish, just remember to change it to the same in the /itemnotify lline. I am not sure if I was the one that made this, but pretty sure I got Dimur's help if that was the case. Long time ago and I had even forgotten I had it.


#turbo

Sub Main
:start
/multiline ; /tar miner ; /if (${InvSlot[pack4].Item.Item[6].ID}) /ctrl /itemnotify in pack4 6 leftmouseup
/if (${Cursor.ID}) /click left target
/delay 5
/multiline ; /tar miner ; /if (${InvSlot[pack4].Item.Item[6].ID}) /ctrl /itemnotify in pack4 6 leftmouseup
/if (${Cursor.ID}) /click left target
/delay 5
/if (${Window[GiveWnd].Open}) /notify GiveWnd GVW_Give_button leftmouseup
/delay 5
/autoinventory
/delay 1s
/goto :start
/return
 


Title: Re: MQ2 macros
Post by: draupner on January 18, 2022, 04:26:58 pm
Here's the one I use. Items can be in any slot.

Code:
Sub Main
    /while (${FindItemCount[Minor Rainbow Crystal]} >= 2) {
        /tar miner
        /nomodkey /ctrlkey /itemnotify ${FindItem[Minor Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /nomodkey /ctrlkey /itemnotify ${FindItem[Minor Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /notify GiveWnd GVW_Give_Button leftmouseup
        /delay 1s
        /autoinventory

    }

    /while (${FindItemCount[Lesser Rainbow Crystal]} >= 2) {
        /tar miner
        /nomodkey /ctrlkey /itemnotify ${FindItem[Lesser Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /nomodkey /ctrlkey /itemnotify ${FindItem[Lesser Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /notify GiveWnd GVW_Give_Button leftmouseup
        /delay 1s
        /autoinventory

    }
/return


Title: Re: MQ2 macros
Post by: wachna on January 21, 2022, 05:40:43 am
Is it possible to let it repeat until all minor / lesser are used?


Title: Re: MQ2 macros
Post by: Loyal on January 21, 2022, 09:24:09 am
Yeah I tried this macro as well. Its having trouble parsing the While statement, so its just doing one turn in of each crystal and then ending. I tried figuring it out but I'm a nooblet in this stuff.


Title: Re: MQ2 macros
Post by: Ogru on January 21, 2022, 03:30:29 pm
If it us only running one time through, you probably have an older version of MQ2 that does not support the While statements.

Here, I replaced the While's with an IF statement and a loop. This should work on any MQ2.

Code:
Sub Main

    :MinorLoop
    /if (${FindItemCount[Minor Rainbow Crystal]} >= 2) {
        /tar miner
        /nomodkey /ctrlkey /itemnotify ${FindItem[Minor Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /nomodkey /ctrlkey /itemnotify ${FindItem[Minor Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /notify GiveWnd GVW_Give_Button leftmouseup
        /delay 1s
        /autoinventory
/delay 5
        /goto :MinorLoop
    }

    :LesserLoop
    /if (${FindItemCount[Lesser Rainbow Crystal]} >= 2) {
        /tar miner
        /nomodkey /ctrlkey /itemnotify ${FindItem[Lesser Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /nomodkey /ctrlkey /itemnotify ${FindItem[Lesser Rainbow Crystal].InvSlot} leftmouseup
        /delay 5
        /click left target
        /delay 5
        /notify GiveWnd GVW_Give_Button leftmouseup
        /delay 1s
        /autoinventory
        /delay 5
        /goto :LesserLoop
    }

/Return


Title: Re: MQ2 macros
Post by: wachna on January 21, 2022, 10:15:40 pm
I downloaded mq2 1 year ago on my return … dont know if that is old or new


Title: Re: MQ2 macros
Post by: draupner on January 23, 2022, 02:55:27 pm
I'm using MQ2 from http://mqemulator.net/

The home page talks about a new version, not sure when it came out.


Title: Re: MQ2 macros
Post by: wachna on January 23, 2022, 03:51:00 pm
what mq2 build are you using?


Title: Re: MQ2 macros
Post by: Sarthin on February 06, 2022, 02:36:03 pm
Anyone have a macro that reports either through tells to the one running the macro, or through MQ2 window the amount of platinum each character has?

Would be sweet with something like that. Maybe even a math calc in the end that spat out the sum of it all.


Title: Re: MQ2 macros
Post by: Ogru on February 06, 2022, 02:52:20 pm
/noparse /bcaa //bc ${Math.Calc[${Me.Platinum}+${Me.PlatinumBank}+${Me.PlatinumShared}].Int}


Title: Re: MQ2 macros
Post by: Sarthin on February 06, 2022, 05:25:23 pm
Thanks, this is great!  :)


Title: Re: MQ2 macros
Post by: wachna on February 07, 2022, 02:27:41 am
Is there a list with all commands available?


Title: Re: MQ2 macros
Post by: Ogru on February 07, 2022, 08:10:14 am
Is there a list with all commands available?

Well, there is the MacroQuest wiki, but it is probably not the easy to read list that you were wanting.

https://www.macroquest2.com/wiki/index.php/Macro_Reference


Title: Re: MQ2 macros
Post by: wachna on February 07, 2022, 12:12:38 pm
Thank you. This is very helpful


Title: Re: MQ2 macros
Post by: Sanjii on February 17, 2022, 01:43:11 pm
Would any of you experts in MQ2 know of a way to see if everyone has a particular quest without tabbing through all the windows?


Title: Re: MQ2 macros
Post by: Chieftan on February 17, 2022, 01:48:35 pm
Dimur posted some quest hotkey checkers Here (http://ezserver.online/forums/index.php?topic=5513.msg70250#msg70250)
Might be some help

Chief


Title: Re: MQ2 macros
Post by: Sanjii on February 17, 2022, 02:38:55 pm
Exactly the quest and info I was looking for. Thank you!


Title: Re: MQ2 macros
Post by: Ogru on February 19, 2022, 12:39:13 pm
So for those of you wanting to figure out how much Plat you have on all characters, I made this to list how much everyone has and then total it (with commas).

GetPP.mac

Code:
#turbo

Sub Main

/declare i int local
/declare charPP string local
/declare char string local
/declare Total string local 0

|Clear chars
/for i 1 to ${Int[${Math.Calc[${Ini[GetPP,Chars].Count[|]}-1]}]}
/if (${Ini[GetPP,Chars].Arg[${i},|].Length}>0) {
/ini "GetPP" "Chars" "${Ini[GetPP,Chars].Arg[${i},|]}" ""
}
/next i

/delay 4
/noparse /bcaa //ini "GetPP" "Chars" "${Me}" "${Math.Calc[${Me.Platinum}+${Me.PlatinumBank}+${Me.PlatinumShared}].Int}"
/delay 4

|List Char Plat
/for i 1 to ${Int[${Math.Calc[${Ini[GetPP,Chars].Count[|]}-1]}]}
/if (${Ini[GetPP,Chars].Arg[${i},|].Length}>0) {
/varset char ${Ini[GetPP,Chars].Arg[${i},|]}
/varset charPP ${Ini[GetPP,Chars,${char}]}
/if (${charPP.NotEqual[NULL]}) {
/varcalc Total ${Total}+${charPP}
/call Prettify ${charPP}
/bc ${char}: ${Macro.Return}
}
}
/next i

/call Prettify ${Total}
/bc Total: ${Macro.Return}
/delay 5
/return

Sub Prettify(string num)
/declare CommaNator string local
| Strip out any decimal points
/varset num ${num.Arg[1,.]}
/if (${num.Length}<=3 ) /varset CommaNator ${num}
/if (${num.Length}>3 && ${num.Length}<=6) /varset CommaNator  ${num.Left[${Math.Calc[${num.Length}-3]}]},${num.Right[3]}
/if (${num.Length}>6  && ${num.Length}<=9) /varset CommaNator ${num.Left[${Math.Calc[${num.Length}-6]}]},${num.Mid[${Math.Calc[${num.Length}-5]},3]},${num.Right[3]}
/if (${num.Length}>9) /varset CommaNator ${num.Left[${Math.Calc[${num.Length}-9]}]},${num.Mid[${Math.Calc[${num.Length}-8]},3]},${num.Mid[${Math.Calc[${num.Length}-5]},3]},${num.Right[3]}
/return ${CommaNator}



Title: Re: MQ2 macros
Post by: Sarthin on February 19, 2022, 02:00:39 pm
Thanks buddy, you rock!!


Title: Re: MQ2 macros
Post by: decapolis95 on August 09, 2022, 12:08:02 pm
Newb Warning..

Have a few basic macros so far.  What I'm trying to figure out is how to get my characters to use an ability with a cooldown.  Example would be to have my rogue use backstab.  Do I have to continue to click a "backstab" macro from my main and guess when the I can press it again or is there a way to click ability anytime it's done with the cooldown?


Title: Re: MQ2 macros
Post by: Sarthin on August 09, 2022, 12:10:55 pm
I put my backstab key in hot key slot #2. Then I got my tank pressing his hot key slot #2 throughout the fight. My wars hot key #2 just says /bca //keypress 2.
I also put other classes abilities in the same hot key slot, so once I press the hot key on tank, they all do.


Title: Re: MQ2 macros
Post by: Soakked on August 18, 2022, 11:41:34 am
Made a rogue for added dps but its my first rogue on the server, is there a specific macro i can use with my main toon that activates a backstab/evade/attack combo? Also noob question, dagger fall is it still a clickable to activate ability or is it now passive? If clickable is there a macro that adds it to the combo above? Thanks for any help.