m
Added LUA code to extract the itemString
(added color theory) |
m (Added LUA code to extract the itemString) |
||
| Line 20: | Line 20: | ||
* <tt>"'''|h'''"</tt> – "End of hyperlink" | * <tt>"'''|h'''"</tt> – "End of hyperlink" | ||
* <tt>"'''|r'''"</tt> – Restores color to normal | * <tt>"'''|r'''"</tt> – Restores color to normal | ||
You can extract the itemString from a given itemLink with the following LUA-code: | |||
local found, _, itemString = string.find(itemLink, "^|%x+|H(.+)|h%[.+%]") | |||
== Printing links for debug == | == Printing links for debug == | ||