Example Code:
Code: Select all
function killadd()
MissingMobs = {"a giant bear", "a small octi", "your momma"}
TestingMobs = {}
for _,v in ipairs(MissingMobs) do
if not table.contains(KillMobs, v) then
dechoLink("<50,50,0:0,255,0>Add " .. v, [[table.insert(TestingMobs, v)]], "This will add " .. v .. " to your list of killable mobs.", true)
print("\n")
end
end
display(TestingMobs)
end
Is there a way to go about doing this?