Multiline in a /bct command?

Third party software discussion goes here.
samaus31
Posts: 21

Multiline in a /bct command?

Post#1 » Sun Jul 13, 2014 5:50 am

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

Safiya
Posts: 129

Re: Multiline in a /bct command?

Post#2 » Sun Jul 13, 2014 5:52 am

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.

User avatar
Alulien
Posts: 283

Re: Multiline in a /bct command?

Post#3 » Sun Jul 13, 2014 6:13 am

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.
Malistari (SHD) | Daggar (ROG) | Sarda (BST) | Gurneyman (BRD) | Glamd (SHM) | Wrunken (CLR)

<Muffins>

Letow (PAL) | Feydakin (MAG) | Corpselight (NEC) | Mallyal (ENC) | Thomel (BRD) | Araer (DRU)

Noren
Posts: 1053

Re: Multiline in a /bct command?

Post#4 » Sun Jul 13, 2014 6:14 am

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.

samaus31
Posts: 21

Re: Multiline in a /bct command?

Post#5 » Fri Jul 18, 2014 9:30 pm

Thanks for the posts guys. It's been
awhile since I've played but I will try this. Thanks!

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest