- script itemdescs -1,{
end;
OnInit:
bindatcmd "ii2",strnpcinfo(3)+"::OnAtcommand";
bindatcmd "itemdesc",strnpcinfo(3)+"::OnAtcommand";
end;
OnAtcommand:
mes "^3355FF[ Item Description Search ]^000000";
mes "Input item name:";
input .@item;
mes "<ITEMLINK>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEMLINK>";
mes "Click on the name of the item above.";
close;
}
script is not mine, ctto. I revised it and made it search the item using its item id. Now I want to make it more user friendly by replacing item id to name. User inputs the name of an item then it will show the corresponding list(s) of item with the same name. If the input is invalid / not in the database return Invalid input.
Question
Mad Walker
Anyone can help on this item link script
script is not mine, ctto. I revised it and made it search the item using its item id. Now I want to make it more user friendly by replacing item id to name. User inputs the name of an item then it will show the corresponding list(s) of item with the same name. If the input is invalid / not in the database return Invalid input.
Edited by Mad WalkerLink to comment
Share on other sites
2 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.