Skip to content

Instantly share code, notes, and snippets.

@keneanung
Last active August 29, 2015 14:14
Show Gist options
  • Save keneanung/ca8a8df748c523ddf8d7 to your computer and use it in GitHub Desktop.
Save keneanung/ca8a8df748c523ddf8d7 to your computer and use it in GitHub Desktop.
tempAlias("^kconfig bashing addTarget \\w*?(\\d+)$", [[
for _, item in ipairs(keneanung.bashing.room) do
if item.id == matches[2] then
keneanung.bashing.addPossibleTarget(item.name)
return
end
end
]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment