EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Adding Call (chat) on Click-to-Cure on group and raid window (https://www.eq2interface.com/forums/showthread.php?t=13150)

MirageKnight 07-26-2009 03:08 AM

Adding Call (chat) on Click-to-Cure on group and raid window
 
Is it possible to add call (to chat) on event when click-to-cure bottom is pressed?

i.e
When clicked click to cure curse (to target) bottom, it cast curse on that target AND speak out to raid and group for "curing curse on %T".

If possible, what would be line to do so?

Ixoa 07-26-2009 09:30 AM

look at the F.A.Q on Profit that GM9 has done says there under editing click to cure buttons. its very easy to do :)

keezyrick 07-26-2009 09:36 AM

It's possible but it wouldn't be practical for most of the click cures. Curse is one that it makes some sense.

It depends on the UI as to what the line will be. But basically it is something like:

Code:

tell=(GroupMember.Name)##(' Curing Curse on you ')
The GroupMember.Name is going to be specific to the UI and the tree in which the name is located. It could be in a different module than your click cures and therefore have a long address like Parent.Parent.Parent....and so on.

gm9 07-26-2009 09:57 AM

Quote:

Originally Posted by keezyrick (Post 84918)
It depends on the UI as to what the line will be.

I think you missed the forum this was in, hehe? What Ixoa said. ;)

MirageKnight 07-29-2009 09:02 AM

ah ic i found it. thx.

In file,
_ProfitUI_Cures.txt

<Data Name="CurseMacro" Code="raidsay Curing Parent.CureName from Parent.Target" />

MirageKnight 08-15-2009 01:19 PM

How can I add some special letters in macro?
Tried to search forum but didn't hit anything :(


For example,

Symbol like " > "

and
line like
★Curing Parent.CureName from 【Parent.Target】★

to work? I'm sure need something to make symbol as telling EQ2 as its symbol, not the command?

Thanks for help.

gm9 08-15-2009 01:45 PM

EQ2 scripting does not support non-ASCII characters.

MirageKnight 08-15-2009 03:23 PM

AH I see.

But letters like

< > " # { } [ ] are ASCII characters, so those are usable?

Then how to code line like

>Curing Parent.CureName from [Parent.Target]<

to show as
>Curing Curse from [CharacterName]<

in game?
I'm not sure how to make those letters as letters in game instead of command syntax.

Thanks for your help.

shaddock 10-16-2009 12:37 PM

If it is conform the XML standard, I think you need to "escape" XML special chars like <,>,",',& using XML entities like &lt; &gt; &quot; &apos; &amp; (note HTML specific entities do not exist in XML)

http://en.wikipedia.org/wiki/List_of...ity_references

I haven't tried it , it's just theory. And if entities are supported, I'm not sure if non-ASCII chars can be used in the form &#nnnn; or &#xhhhh; (as it is EQ2 script that doesn't support non-ASCII, even when XML does using entities)

gm9 10-16-2009 03:15 PM

Quote:

Originally Posted by shaddock (Post 86576)
If it is conform the XML standard, I think you need to "escape" XML special chars like <,>,",',& using XML entities like &lt; &gt; &quot; &apos; &amp; (note HTML specific entities do not exist in XML)

Something like that, just consult the ProfitUI FAQ.


All times are GMT -5. The time now is 06:15 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI