EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Something simple, need a little help? (https://www.eq2interface.com/forums/showthread.php?t=9305)

AstroCat 10-04-2007 07:10 AM

Target link, need a little help?
 
Hi, I am trying to make this link happen when I click on a section of the target window I want to define.

Here is how it would work from the chat window:

Code:

/browser www.lootdb.com/eq2/mob/%T
So, you click the the defined area, it looks at your target and opens the browser to lootdb and searches for your target. This seems doable, I'm just looking for some assistance.

Thanks for the help! :)

Othesus 10-04-2007 01:46 PM

You can look at my examine window for an example of how you would do this. You'll need to concatenate the URL string first and then give the browser command on the second line.

Something like this.

OnPress="URIString='http://www.lootdb.com/eq2/mob/' ## Parent.Name.Text
browser URIString"

Of course you could always just use your command from a macro in a hotbar too.

Landiin 10-04-2007 01:59 PM

You may want to note that none of the % variables that are available in game work with UI scripting.

AstroCat 10-04-2007 01:59 PM

Thank you for the help! I will try this tonight after work. :)

AstroCat 10-04-2007 02:00 PM

Quote:

Originally Posted by Landiin (Post 63583)
You may want to note that none of the % variables that are available in game work with UI scripting.

Code:

OnPress="URIString='http://www.lootdb.com/eq2/mob/' ## Parent.Name.Text
browser URIString"

If I have the mob targeted will the above line work?

UPDATE: It works. Thanks! :)


All times are GMT -5. The time now is 01:34 PM.

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