1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
function string.split(text,b) 	local cmd = {} 	if b then 		b = b 		else 		b = "%s" 	end 	b = "[^"..b.."]+" 	for o in string.gmatch(text,b) do 		table.insert(cmd,o) 	end 	return cmd end 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 initArray(m) 	local array = {} 	for i = 1, m do 		array[i]=0 	end 	return array end function Array(size,value) local array = {} for i = 1, size do array[i]=value end return array end function c_array(c,v) 	local t={} 	for i=1,c do 		t[i]=v 	end 	return t end)
edited 1×, last 01.03.13 07:00:15 pm