EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-16-2008, 09:13 AM
cybersmurf cybersmurf is offline
A Grove Wisp
Interface Author - Click to view interfaces
 
Join Date: Dec 2005
Server: Befallen
Posts: 26
Default Sending tell to people after C2C-ish

Hi

I was trying to add a tell to my groupwindow-mod (and I have done a search, but couldn't find anything).
Example button:
<Button BackgroundOpacity="0.000" LocalTooltip="Scale of Essence" Location="57,24" Name="ZShardButton" OnPress="useability Scale of Essence
useability Scintilla of Essence
useability Shard of Essence
useability Sliver of Essence
useability Splinter of Essence
clear abilityqueue
tell Parent.Name.GroupMember 'You are getting shard, please stay close'
target_previous" ScrollExtent="23,23" Size="23,23" Style="/ButtonStyles.invisible"></Button>

I have also tried: parent.Name.text
but I keep getting: "That is not a valid charactername" ingame.

How do I add a /tell ?

Thanks
Flaxer
Befallen
Reply With Quote
  #2  
Unread 09-16-2008, 11:23 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

As you would on the command line:
tell %t 'You are getting shard, please stay close'
__________________
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
  #3  
Unread 09-16-2008, 12:12 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Hmm, I thought it was always unpredictable what target the tell would use if you use so much switching around it. Anyhow, the problem you've highlighted in red is that first, I doubt that element path exists... and secondly if it did exist, it would likely be a Page element and you cannot get text from that... so the tell command would get a blank response. It'd probably be something like Parent.Parent.Name.LocalText... assuming I'm guessing your XML paths correctly. ZShardButton being in GroupMembers.GroupMember1.MemberInfoPage.Effects.
Reply With Quote
  #4  
Unread 09-16-2008, 12:50 PM
cybersmurf cybersmurf is offline
A Grove Wisp
Interface Author - Click to view interfaces
 
Join Date: Dec 2005
Server: Befallen
Posts: 26
Default

Thanks EQAditu, that worked perfectly
Reply With Quote
  #5  
Unread 09-16-2008, 01:02 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 EQAditu View Post
Hmm, I thought it was always unpredictable what target the tell would use if you use so much switching around it.
entirely possible, I never used the variables myself for scripts
__________________
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 12:05 PM.


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