I've been trying to find a way to get my game to tag each item with a link that calls a function to display the item's stats.
But these links will either not execute commands, or the commands will be run when the link is created, not when the link is clicked. Is there a good solution to this, or another way to achieve this goal?
Code: Select all
cinsertLink("[ID:".. itemID.."]", [[send(" showitem ]] .. itemData["_row_id"] .. [[")]], "View Stats")