Embedded > < symbols in $if

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

FlashG
Contributing Member
Contributing Member
Posts: 104
Joined: Thu Jul 11, 2002 6:38 pm

Embedded > < symbols in $if

Post by FlashG » Mon Mar 08, 2004 12:56 pm

I have writen a nice target ui mod. To maximize space and versility I used the $if command to make the UI sentitive to the enviroment. As a examlple When I target a NPC I get its class,level and name (as well as other info), If I target a PC I get its class,level and guild (as well as other info), If I target a pet I get class level, and master, and if nothing is targeted the UI displays almost no information.

Though the UI works, I could have done better if I could embedd > < comparison operators into the XML files. Currently XML sees these symbols and crashes or errors out. I saw the code for COMP_LT, COMP_GT but had no luck using them.

Has anyone used the $if(n,C,T,F) command in xml or got either > < or the COMP_LT comparisons to work? Maybe some XML examples of $if's use?

Thanks FlashG

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon Mar 08, 2004 7:23 pm

Are you using these(without the space after the &)?

Code: Select all

"& lt;"
"& gt;"