Probably a basic question but its giving me fits

Third party software discussion goes here.
aardil
Posts: 39

Probably a basic question but its giving me fits

Post#1 » Sun Oct 30, 2016 10:56 pm

As I continue down this road, I have developed a new issue.
In the old ways (back before MQ2) if you wanted to tell the party what you were doing it was a simple line.
/gsay Casting RGC on %t

In MQ2 (using) /multiline ; /bct Cleric //gsay Casting RGC on %t ; /timed 10 /cast 6
I get the following in group chat:
Casting RGC on t
and then it does cast the spell as it should.
What I want it to do is say in group chat is the name that the cleric has targeted.

Example:
If Loadn is targeted

Casting RGC on Loadn
Then cast the spell.

So my question is what do I replace %t with to make the cleric announce who she is casting on?

Any help?

Thanks
Aardil

User avatar
Enrikk
Posts: 389

Re: Probably a basic question but its giving me fits

Post#2 » Mon Oct 31, 2016 12:46 am

Somewhere I posted a link to a cleric macro that 1) works amazingly well, and 2) tells me who is being healed whenever someone is targeted for healing.

I'm not one that is good at writing code, but, I do pay attention to codes that work well, and this is one. Try it, maybe it will work for you.

Here's a link to the thread, go down and find the link to Redguides.

viewtopic.php?f=204&t=12525
Lead, Follow, or get out of My Way!

Enrikk of the Few

With MANY voices Also in my head

User avatar
moguay
Posts: 170

Re: Probably a basic question but its giving me fits

Post#3 » Mon Oct 31, 2016 9:13 pm

If you want to catch any toon target, you need to use ${Target.CleanName}. And if you need to not parse the the tlo {Target} by the bc sender you need to use /norparse or "\"

So with noparse line :

Code: Select all

/norparse /multiline ; /bct Cleric //gsay Casting RGC on ${Target.CleanName}; /timed 10 /casting 6

and with "\" to force no parse only when need : (warning work only with /bct not /bca)

Code: Select all

/multiline ; /bct Cleric; //gsay Casting RGC on $\{Target.CleanName}; /timed 10 /casting 6

I think you have some other problem to use cast on the cleric, i think you need to do :
- this send many command in eqbc, yours sent the gsay only to your clr not the /casting
- use /cast for gem casting

Code: Select all

/bct Cleric //multiline ; /gsay Casting RGC on $\{Target.CleanName}; /cast 6

-------------------------------------------------------------------------------------------------------------
But personally for a bit more auto heal the lower PC below 80% and targeting :

Code: Select all

/noparse /bct Cleric //if (${NetWorst.Request[radius200 pc all80]}) /multiline ; /target id ${NetWorst.Members.Arg[1, ]}; /gsay Casting RGC on ${Spawn[id ${NetWorst.Members.Arg[1, ]}].CleanName}; /timed 10 /cast 6
* you can change all80 by war or any class also

and can do the same with a command alias, but not tested for the moment, if nobody need :

Code: Select all

/noparse /alias /healall /multiline @ /echo Command [ /healall ]@ /noparse /bca //multiline ; /if (!${Defined[HealZone]}) /declare HealZone string global;/if (!${Defined[HealTar]}) /declare HealTar int global@ /bca //varset HealZone ${Zone.Name}@ /noparse /bca //if (${Zone.Name.Find[${HealZone}]} && ${Select[${Me.Class.ShortName},CLR]} && ${NetWorst.Request[radius200 pc all80]}) /multiline ; /varset HealTar ${NetWorst.Members.Arg[1, ]}; /echo Heal to [ ${Spawn[${HealTar}].CleanName} ]; /target id ${HealTar}; /timed /cast 6
* can be casted after only with /healall, healwar... etc...

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest