EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   QuickRaidButton not working (https://www.eq2interface.com/forums/showthread.php?t=14705)

dernia 09-10-2010 09:04 PM

QuickRaidButton not working
 
Here's what I've got:

Code:

<Data Name="Button2" Macro="SpellForMyLevel='3390154729'
    useabilityonplayer Parent.Target SpellForMyLevel
    raid Rezzing Parent.Target&apos;s group
    say All the lazy folks in Parent.Target&apos;s group needs to get up" Tooltip="Group Rez"/>

When I click the button, nothing happens. Nothing at all. What am I doing wrong? I've looked over all my other ones, and the FAQ, and I'm just stumped. Thanks!

gm9 09-10-2010 09:28 PM

As stated in the FAQ, you need to enclose the ' (&apos;) with &quot;

dernia 09-11-2010 01:50 AM

If I use the &quot; then won't I be able to use the ' instead of &apos;? I had thought by using &apos; I could circumvent the need for the &quot;. But thanks, gm9. As always, my hero. :)

gm9 09-11-2010 03:18 AM

No it's the same thing, you could use ' anyway but well formed XML asks that you use the entity &apos; instead. However since it is a special character serving as a delimiter in UI script, you must enclose it in another delimiter (" = &quot;) to prevent it being processed as such.

dernia 09-11-2010 11:10 AM

Quote:

Originally Posted by gm9 (Post 93144)
No it's the same thing, you could use ' anyway but well formed XML asks that you use the entity &apos; instead. However since it is a special character serving as a delimiter in UI script, you must enclose it in another delimiter (" = &quot;) to prevent it being processed as such.

So would:

Parent.Target&aquot;'&aquot;s group

be legal? Or do I still need to use &apos;? Cause I currently have that, and now it just prints out "Rezzing (PlayerName here)" instead of "Rezzing (PlayerName here)'s group", and it doesn't do the /say part at all.

Papabard 09-11-2010 11:56 AM

Quote:

Originally Posted by dernia (Post 93145)
So would:

Parent.Target&aquot;'&aquot;s group

be legal? Or do I still need to use &apos;? Cause I currently have that, and now it just prints out "Rezzing (PlayerName here)" instead of "Rezzing (PlayerName here)'s group", and it doesn't do the /say part at all.

Might want to edit the &aquot; to be &quot;

dernia 09-12-2010 02:53 AM

HAHA, I'm a nub...

dernia 09-20-2010 10:00 PM

Okay, had to take a break from the game for a bit. I'm back and was testing this, and it's failing. Here's what I currently have:

<Data Name="Button2" Macro="SpellForMyLevel='3390154729'
useabilityonplayer Parent.Target SpellForMyLevel
raid Rezzing Parent.Target&quot;'&quot;s group
say All the lazy folks in Parent.Target&quot;'&quot;s group needs to get up" Tooltip="Group Rez"/>

I have also used:

<Data Name="Button2" Macro="SpellForMyLevel='3390154729'
useabilityonplayer Parent.Target SpellForMyLevel
raid Rezzing Parent.Target&quot;&apos;&quot;s group
say All the lazy folks in Parent.Target&quot;&apos;&quot;s group needs to get up" Tooltip="Group Rez"/>

In both cases, the line that gets out put is:

/raid Rezzing Parent.Target' s group
/say All the lazy folks in Parent.Target' s group needs to get up

And yes, there's a space between the apostrophe and the s. I'm not sure why. Thanks for any help.

gm9 09-21-2010 04:39 PM

no way around the space as far as I am aware

Kraal of BDA 09-22-2010 11:52 PM

Wouldn't it be:

raid Rezzing Parent.Target&quot;&apos;s&quot; group
say All the lazy folks in Parent.Target&quot;&apos;s&quot; group needs to get up" Tooltip="Group Rez"/>

Kraal of BDA 09-24-2010 09:58 AM

I tested a few different ways myself and ended up with this:

raid Rezzing Parent.Target &quot;&apos;s&quot; group
say All the lazy folks in Parent.Target &quot;&apos;s&quot; group needs to get up" Tooltip="Group Rez"/>

Which comes out the way you want except there is still a space between the person's name and the apostrophe but quite a bit better than it coming out as "Parent.Target's"


All times are GMT -5. The time now is 05:24 AM.

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