1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
local file = io.open("sys/lua/report.txt","w")
addhook("say","report")
function report(id,txt)
if string.sub(txt,1,6) == "!report" then
local msj = string.sub(8,50)
file:write(msj)
file:close()
msg2(id,"Your message send!")
return 1
end
end
I.O (lua)
1 
Offline
Alistaire