Also, I would like to know how you would be able to add types of users (vip,members,etc.) from the server, that's running the script, by saying "!makevip <usgn> or <id>" and "!makemember <usgn> or <id>", which would add the usgns into the txt file.
Currently, this is how the script identifies the users.
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Admin = {xxxx} Aom = {xxxxx} Mods = {xxxxx} Members = {xxxxx} Vip = {xxxxxx} 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 -- Init Array function initArray(m) 	local array = {} 	for i = 1, m do 		array[i]=0 	end 	return array end function isAdmin(id) for _, usgn in ipairs(Admin) do if player(id,'usgn') == usgn then return true end end return false end function isMod(id) for _, usgn in ipairs(Mods) do if player(id,'usgn') == usgn then return true end end return false end function isAom(id) for _, usgn in ipairs(Aom) do if player(id,'usgn') == usgn then return true end end return false end function isMemb(id) for _, usgn in ipairs(Members) do if player(id,'usgn') == usgn then return true end end return false end function isVip(id) for _, usgn in ipairs(Vip) do if player(id,'usgn') == usgn then return true end end return false end ------------the functions for all of the users
~Thanks in advance.