Quote:
Originally Posted by gm9
You could either discard the = (easiest) or add the tell as a property to the button you use to send it, e.g. <Button OnPress="tell=text" tell="text" />
|
Could you provide an example please of an OnPress or OnActivate with proper syntax without the =? Or a link to a thread with one? Which = do you mean, anyway, all of them?
I'd prefer not to do the latter as I don't want to be spamming people with double tells.
Thanks in advance. I'm very new to this.
Edit: Nevermind! I figured it out thanks to your suggestion.
An example would be (from a raid window XML click-cast heart/shard mod FYI, credit goes to pretty much all of them as they all look very similar in the XML, though I've modified it quite a bit):
Code:
<Button Location="0,0" Name="Button1" OnActivate="
tell Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.Text
useabilityonplayer Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.SpellName
activated=false" ScrollExtent="20,20" Size="20,20"/>
If there were only one command you could keep it all in one line.