Page 1 of 1

Embedded > < symbols in $if

Posted: Mon Mar 08, 2004 12:56 pm
by FlashG
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

Posted: Mon Mar 08, 2004 7:23 pm
by ml2517
Are you using these(without the space after the &)?

Code: Select all

"& lt;"
"& gt;"