Jump to content
  • 0
ItsRas

Making @iteminfo2/@ii2 clickable

Question

-	script	iteminfo2	-1,{
end;

OnInit:
	bindatcmd "ii2",strnpcinfo(3)+"::OnAtcommand";
	bindatcmd "iteminfo2",strnpcinfo(3)+"::OnAtcommand";
	end;
	
OnAtcommand:
[email protected]$ = "";
for ([email protected] = 0; [email protected] < [email protected]_numparameters; [email protected]++) {
  if ([email protected] != 0)
    [email protected]$ += " ";
  [email protected]$ += [email protected]_parameters$[[email protected]];
}
dispbottom "<ITEMLINK>"+getitemname([email protected]$)+"<INFO>"[email protected]$ +"</INFO></ITEMLINK>";
}

Hello everyone,

I need help on my script, I can't make to work this script ingame. I tested it but the item won't link.

 

I am trying to make something like this. Thank you in advance.

unknown.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
16 hours ago, Capuche said:

You need, for example,

 

Thanks for the reply, Capuche!

I've followed the instructions and tested this but this give me this warning not sure what exactly what this mean.

image.png.cd357087bc7d725b604f8ff9059a4eb7.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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.