Board Thread:Lua Help/@comment-28857013-20150218124053/@comment-24473195-20150218132549

I'm not sure I understand.

If all you want is to change the parameters you can simply use if/else blocks. function p.boofar (frame) if testfoo(frame, 'foobartable') then return testfoo(frame, 'foobartable') end else testfoo(frame, 'gootable') then return testfoo(frame, 'gootable') end end

function testfoo(frame,condition) if condition == "foobartable" then return table[frame.args[1] else if condition == "gootable" then return table2[frame.args[1] end end