1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function totable(t,match) 	local cmd = {} 	if not match then match = "[^%s]+" end 	for word in string.gmatch(t, match) do 		table.insert(cmd, word) 	end 	return cmd end function putimage(name) image("gfx/"..name.."",1,1,1) end addhook("say","a") function a(id,txt) local p = totable(txt) 	if txt == "!image" then 		freeimage(id) 		local asd = tostring(p[2]) 		putimage(asd) 		return 1 	end end