mirror of
https://tildegit.org/Sunblade/hx_drives.git
synced 2026-01-24 00:10:19 +00:00
Update hx_drives.lua
This commit is contained in:
@@ -14,10 +14,10 @@ Usage: /drives
|
|||||||
hexchat.register("hx_drives.lua","0.0.1","Display the list of storage drives - Usage: /drives")
|
hexchat.register("hx_drives.lua","0.0.1","Display the list of storage drives - Usage: /drives")
|
||||||
|
|
||||||
function drives()
|
function drives()
|
||||||
i = io.popen("wmic logicaldisk get name,freespace,volumename,filesystem")
|
input = io.popen("wmic logicaldisk get name,freespace,volumename,filesystem")
|
||||||
o = i:read("*a")
|
output = input:read("*a")
|
||||||
i:close()
|
input:close()
|
||||||
hexchat.print(o)
|
hexchat.print(output)
|
||||||
return hexchat.EAT_ALL
|
return hexchat.EAT_ALL
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user