Jump to content
  • 0

How to Link item on iteminfo


bruninjaman

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  01/30/18
  • Last Seen:  

Hello, I know you can with updated regexed shift + click into a item and link it to chat. 
I want to get this same linked item and put as a description of another item
I'm trying:


<ITEMLINK><ITEML>0000001YV&00(00(00(00</ITEML></ITEMLINK>

output is:

<ITEMLINK>Amuleto de Ziegfried</ITEMLINK>

this ITEMLINK doesnt exist, for navi it uses <NAVI> tag so I tought it had a tag for linked items too. does someone know how to link these items in descrition?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

Items
-----
You can refer to items by using HTML-like links to certain items:

	<ITEMLINK>Display Name<INFO>Item ID</INFO></ITEMLINK>

Where <Display Name> is the name that will be displayed for your link and
<Item ID> being the ID of the item you want to link to when clicked.

In 2015 the tag name was changed to <ITEM> resulting in the following syntax:

	<ITEM>Display Name<INFO>Item ID</INFO></ITEM>

The following sample will open a preview window for Red Potion:

	mes "Did you ever consume a <ITEMLINK>Red Potion<INFO>501</INFO></ITEMLINK>?";
	// Or in 2015:
	mes "Did you ever consume a <ITEM>Red Potion<INFO>501</INFO></ITEM>?";

NOTE: Be aware that item links are rendered incorrectly in 2015+ clients at the moment.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  01/30/18
  • Last Seen:  

@Emistry Ty for answer, I tried both (client side 'iteminfo.lub') idk if it runs the code, the second one appears in item description but when it click it crashes the game. But doesnt matter this blue one I want the green one that you can relink if you want. 
look how it is:
LlBTxHn.png
the output in game is:
CXUhfnY.png
the type of link that I wanted is like this (but I wanted in item description, I think the blue one you can't shift + click to relink the item again):
2Pse0dO.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...