1. I want to preface this with the fact that I am on a 2.4.3 private server. I am creating an addon and need to pass an itemid to a function. I'd love to be able to pass this through a slash command. (/mod [Item of Awesome])

    When I pass this across, I'm not able to parse the string to pull the id. I'm using this method:

     local linkType, itemId, enchantId,
            jewelId1, jewelId2, jewelId3, jewelId4,
            suffixId, uniqueId = strsplit(":", item);
    

    linkType has data, but itemId doesn't seem to have anything.

    Am I missing something here, or is there a better way to pass this to my addon?

  2. I narrowed my issues down to a minor mistake in upper/lower case. But it appears that GetItemStats wasn't a part of 2.4.3.

    I'm still at a loss for how to get the item stats. I want to score the item based on stat weights.