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
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
OWNER = {140639} ADMIN = {} MOD = {} MEMBER = {} VIP = {} function ismember(id,member) for none, usgn in pairs(_G[member]) do if (usgn == player(id, "usgn")) then return true end end return false end addhook("say","saycmds") function saycmds(id,txt) if txt:sub(1,1) == "!" then -- >>Set Player Ranks<< -- Make/Remove VIP if txt:sub(2,7) == "vipadd" and (ismember(id,"OWNER") or ismember(id,"ADMIN") or ismember(id,"MOD")) then local vipid = txt:sub(9,#txt) table.insert(VIP,"..player(vipid,'usgn')..") msg2(id,"©000255000You have made "..player(vipid,'name').." a VIP!") return 1 elseif txt:sub(2,6) == "revip" and (ismember(id,"OWNER") or ismember(id,"ADMIN") or ismember(id,"MOD")) then local rvipid = txt:sub(8,#txt) table.remove(VIP,"..player(rvipid,'usgn')..") msg2(id,"©000255000You removed "..player(vipid,'name').." as VIP!") return 1 end end end