EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Sending tell to people after C2C-ish (https://www.eq2interface.com/forums/showthread.php?t=11603)

cybersmurf 09-16-2008 09:13 AM

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

gm9 09-16-2008 11:23 AM

As you would on the command line:
tell %t 'You are getting shard, please stay close'

EQAditu 09-16-2008 12:12 PM

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.

cybersmurf 09-16-2008 12:50 PM

Thanks EQAditu, that worked perfectly :nana:

gm9 09-16-2008 01:02 PM

Quote:

Originally Posted by EQAditu (Post 75696)
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


All times are GMT -5. The time now is 03:00 PM.

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