Re: # repeat alias
Posted: Sat Feb 24, 2018 1:47 pm
I think you have it right, the matches table is overwritten when a new alias is called, so you need to save the relevant values before you call expandAlias.
Code: Select all
local myMatches = matches
for i = 1, tonumber(myMatches[2]) do
expandAlias(myMatches[3])
end