Page 1 of 1

Multiline in a /bct command?

Posted: Sun Jul 13, 2014 5:50 am
by samaus31
Im still very new to the macro/hotkey use in this game. I was wondering if there was a way to send the command to cast a spell with it being a -kill command to 2 separate toons but with different spell id's?

This is the original base hotkey I was gonna use but how do I add in multiple spell #'s?

Or do I need to do a multiline and broadcast two separate commands from the same hotkey?


/bct nuke //target ID ${Target.ID}
/bct nuke //casting #spell number here -kill
/bct nuke //pet attack

Re: Multiline in a /bct command?

Posted: Sun Jul 13, 2014 5:52 am
by Safiya
Well, one easy but somewhat cheesy way would be to cast a gem slot instead of a specific spell. Put the nukes for the 2 casters in the same gem number and have at it.

Re: Multiline in a /bct command?

Posted: Sun Jul 13, 2014 6:13 am
by Alulien
Safiya has the answer to keep it with a single //casting line. Otherwise you would need to send the command to specific characters:

/multiline ; /bct Nuker1 //casting #Nuker1Spell -kill; /bct Nuker2 //casting #Nuker2Spell -kill

If you have, say, 2 Mages and 2 Wizards, you could easily make a Wizard/Mage bc channel to avoid sending to specific characters.

Re: Multiline in a /bct command?

Posted: Sun Jul 13, 2014 6:14 am
by Noren
I haven't tested it, but this concept should work:

Code: Select all

/multiline ; /bca //target ID ${Target.ID};/noparse /bca //multiline @ /if (!${Defined[Nuke]}) /declare Nuke string global@/if (${Me.Gem[SpellName1]}>0) /varset Nuke SpellName1@/if (${Me.Gem[SpellName2]}>0) /varset Nuke SpellName2@/timed 3 /if (${Nuke.Length}>2) /casting ${Nuke} -kill


It does the following:
[1] Tells all characters to target your target.
[2] Sets a global variable called Nuke for your characters.
[3] Checks if they have a spell gem matching the name you specify (SpellName1,SpellName2) and IF they have it, THEN it sets Nuke equal to that spell name.
[4] Waits 0.3 seconds (to allow time for the target to be acquired) and then checks if Nuke has been assigned a spell name, and if so uses MQ2Cast.dll to repeatedly cast it until the target is dead.

Re: Multiline in a /bct command?

Posted: Fri Jul 18, 2014 9:30 pm
by samaus31
Thanks for the posts guys. It's been
awhile since I've played but I will try this. Thanks!