1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("say","setrank") function setrank(id,txt) for _, usgn in ipairs(OWNER) do if player(id,'usgn') == usgn then if txt:sub(1,8) == "!makevip" then vipid = txt:sub(10,#txt) table.add(VIP,"..player(vipid,'usgn')..") msg2(id,"You have made "..player(vipid,'name').." a VIP,his/hers USGN:"..player(vipid,'usgn')) msg2(vipid,"You are now a VIP!") elseif txt:sub(1,9) == "removevip" then rvipid = txt:sub(11,#txt) table.remove(VIP,"..player(rvipid,'usgn')..") msg2(id,"You have removed "..player(vipid,'name').." as a VIP") msg2(rvipid,"You are no longer a VIP!") end end end end