Originally Posted by skobyjay
awesome thanks. is there an similar function for an Item LInk? I can't seem to find in the API.
|
Function zo_strformat works for item links the same way as for regular strings.
Example:
lua Code:
local itemLink = "|H1:item:16424:1:50:0:0:0:0:0:0:0:0:0:0:0:0:7:0:0:0:0|h|h"
d(zo_strformat("ItemLink: <<t:1>>", itemLink))
Prints:
ItemLink: [Racial Motifs 1: The High Elves]