1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-12-24 18:08:06 +11:00
Zorya-NEO/mods/util_luaconsole/arc/bin/kill.lua
2020-06-05 19:45:08 -05:00

9 lines
171 B
Lua

local thd = krequire("thd")
local threads = thd.get_threads()
local n = ...
for i=1, #threads do
if (threads[i][1] == n) then
thd.kill(i)
print("killed "..n)
end
end