1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-12-25 10:28:05 +11:00
Zorya-NEO/mods/util_luaconsole/arc/bin/kill.lua

9 lines
171 B
Lua
Raw Normal View History

2020-06-06 10:45:08 +10:00
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