iubantot Posted June 19, 2016 Posted June 19, 2016 (edited) How do i use this? on a npc script for example mes "The Item is " + <itemlink>602</itemlink> + "."; then a window will pop with the items description. im using 2015-11-04 client * Edit * so i manage to make it work but the text is always at the top so im following this format. mes "<ITEM>Apple<INFO>602</INFO></ITEM>"; Edited June 19, 2016 by Hagane no Bushi Quote
0 Kurofly Posted June 19, 2016 Posted June 19, 2016 (edited) This function works fine for me. function script itemlink { // getarg(0) : item id return "<ITEMLINK>"+getitemname(getarg(0))+"<INFO>"+getarg(0)+"</INFO></ITEMLINK>"; } //ex: mes "Look at that "+callfunc("itemlink",512)+"! Isn't it awesome!?"; Also for those who wonder I know this functionnality works on my 2013-12-23 client but it doesn't work on my 2013-08-07 client so it's available since a date between those 2. Edited June 19, 2016 by Kurofly Quote
0 REKT Posted June 19, 2016 Posted June 19, 2016 Client above 2015-11-04 won't work.Try lower client it will work. Quote
0 86991101 Posted June 19, 2016 Posted June 19, 2016 Link https://github.com/MStr3am/NEMO/issues/151 Quote
0 iubantot Posted June 19, 2016 Author Posted June 19, 2016 Client above 2015-11-04 won't work. Try lower client it will work. is 2015-10-29 stable? or what other clients can i use and where do i get them Quote
0 Everade Posted July 21, 2016 Posted July 21, 2016 Upon my tests, it usualy worked as long as the name isn't too long and used seperately on one line only. Quote
0 ZelosAvalon Posted March 25, 2019 Posted March 25, 2019 On 6/19/2016 at 11:48 AM, iubantot said: How do i use this? on a npc script for example mes "The Item is " + <itemlink>602</itemlink> + "."; then a window will pop with the items description. im using 2015-11-04 client * Edit * so i manage to make it work but the text is always at the top so im following this format. mes "<ITEM>Apple<INFO>602</INFO></ITEM>"; it's possible to use it on items, in iteminfo.lua ? Quote
Question
iubantot
How do i use this? on a npc script for example
mes "The Item is " + <itemlink>602</itemlink> + ".";
then a window will pop with the items description.
im using 2015-11-04 client
* Edit *
so i manage to make it work but the text is always at the top
so im following this format.
Edited by Hagane no Bushi6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.