Page 1 of 1

Using && in a UI Tooltip Reference.

Posted: Sat Oct 28, 2006 3:38 am
by No_Idea_At_All
[[Custom UIs]]
I have added in the section about Note to tooltipreference. My question is mainly about the & symbol that seems to be giving me a syntax error on loading the ui. Thought I would just add the bit in about the < symbol since over time I've seen a few questions crop up about it.

Example of a line I use it in

Code: Select all

<TooltipReference>${If[!${Me.Invis} && ${Me.CombatState.Equal[ACTIVE]},${Me.CleanName},]}</TooltipReference>
When loading the UI the Error comes out "[Line:190 Source:UIFiles\MQUI\EQUI_PlayerWindow.xml] ParseTag() Syntax Error"

Does anyone have any suggestions on how to get around this?
Thank you in advance.

Posted: Sat Oct 28, 2006 5:19 am
by No_Idea_At_All
Nevermind, after a bit more thinking I slapped myself for not thinking of just nesting if statements.

Although still a good thing to have in the wiki.

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:51 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:52 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:53 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:55 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:56 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:57 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 10:59 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 11:00 pm
by xyilla

Re: Using && in a UI Tooltip Reference.

Posted: Sat Jan 10, 2026 11:01 pm
by xyilla