EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 07-26-2009, 03:08 AM
MirageKnight MirageKnight is offline
A Dervish Cutthroat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 35
Default 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?
Reply With Quote
  #2  
Unread 07-26-2009, 09:30 AM
Ixoa's Avatar
Ixoa Ixoa is offline
A Griffon
 
Join Date: Jun 2005
Server: Splitpaw
Posts: 175
Default

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
Reply With Quote
  #3  
Unread 07-26-2009, 09:36 AM
keezyrick keezyrick is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2006
Server: Guk
Posts: 194
Default

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.
__________________
GUK Server
<Legion of the White Rose>
Mezzes 90 Coercer
Reply With Quote
  #4  
Unread 07-26-2009, 09:57 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by keezyrick View Post
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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #5  
Unread 07-29-2009, 09:02 AM
MirageKnight MirageKnight is offline
A Dervish Cutthroat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 35
Default

ah ic i found it. thx.

In file,
_ProfitUI_Cures.txt

<Data Name="CurseMacro" Code="raidsay Curing Parent.CureName from Parent.Target" />
Reply With Quote
  #6  
Unread 08-15-2009, 01:19 PM
MirageKnight MirageKnight is offline
A Dervish Cutthroat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 35
Default

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.
Reply With Quote
  #7  
Unread 08-15-2009, 01:45 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

EQ2 scripting does not support non-ASCII characters.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #8  
Unread 08-15-2009, 03:23 PM
MirageKnight MirageKnight is offline
A Dervish Cutthroat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 35
Default

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.
Reply With Quote
  #9  
Unread 10-16-2009, 12:37 PM
shaddock shaddock is offline
A Coastal Crab
 
Join Date: Jan 2008
Server: Antonia Bayle
Posts: 1
Default

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)

Last edited by shaddock : 10-16-2009 at 12:42 PM.
Reply With Quote
  #10  
Unread 10-16-2009, 03:15 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by shaddock View Post
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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:16 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI