Page 1 of 1

Clickable links with multiple options....

Posted: Thu Jul 27, 2023 7:20 am
by bobojobaxter
So, I am able to list items in a shop, and create clickable links, however...even though the line shows the right words, each link is only responding to the last item matched...

Re: Clickable links with multiple options....

Posted: Thu Jul 27, 2023 7:08 pm
by bobojobaxter
We figured it out! Thansk dominic...

Code: Select all

local item = matches[2]
if table.contains(badgear, item) then
  deleteLine()
else
  cechoLink(" <red>Hide?", function() addToCrap(item) end, "Add " .. item .. " to crappy gear list...", true)
end