Clickable links with multiple options....

Post Reply
bobojobaxter
Posts: 5
Joined: Sat Jan 11, 2020 12:27 am

Clickable links with multiple options....

Post 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...

bobojobaxter
Posts: 5
Joined: Sat Jan 11, 2020 12:27 am

Re: Clickable links with multiple options....

Post 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

Post Reply