Just a quick question. I got how weapon/armor tags work for equipping/un-equipping items, but how do I read a notetag from an item specifically activated to doing a common event that runs a plugin command. Order below for reference:
1. Item (tag: <PokerChip: 1>)
2. Use Common Event: PokerChips2Cash
3. Common Event runs plugin command: [chips_cash]
3. Plugin command gets the meta data from item used and gives gold to party based on the value of the meta data
(in this case 1g, but if a different item was used <PokerChip: 500> then they get 500g and so on?)
EDIT: I suppose likewise can use the meta data for chip values when betting (if item.meta.PokerChip === X { itemId = Y } kind of thing if I need an itemID from it). I just don't want to have to make a single common event for each poker chip item basically.
1. Item (tag: <PokerChip: 1>)
2. Use Common Event: PokerChips2Cash
3. Common Event runs plugin command: [chips_cash]
3. Plugin command gets the meta data from item used and gives gold to party based on the value of the meta data
(in this case 1g, but if a different item was used <PokerChip: 500> then they get 500g and so on?)
EDIT: I suppose likewise can use the meta data for chip values when betting (if item.meta.PokerChip === X { itemId = Y } kind of thing if I need an itemID from it). I just don't want to have to make a single common event for each poker chip item basically.