Purely useless... did not test for bugs, but enjoy it, my last script for long time. :(
function ChatArrivaluser,data)
data=string.sub(data,1,string.len(data)-1)
local _,_,cmd=string.find(data,"%b<>%s+(%S+)")
if cmd=="!serverstats" then
os.execute("NET STATISTICS SERVER >> C:\tmpfil.fil')
local f=io.open("C:\tmpfil.fil","r")
local msg=""
if f then
for line in f:lines() do
msg=msg..line.."\r\n"
end
f:close()
else
msg=msg.."Cannot retrieve server statistics."
end
end
end
y is it yer lasty script then ?
QuoteOriginally posted by Stravides
y is it yer lasty script then ?
I have many things to do... returning in end of April or in May.
Hey what is the use of this script ?
QuoteOriginally posted by bastya_elvtars
Purely useless...
QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by bastya_elvtars
Purely useless...
I totally agree lol ..
but learned a new dos command by testing the script :p
Typhoon?