I wanted a script that was so
You typed "@give <USGN>"
Or Something Similar ...
> Not < I want a script like, Please Do not insist
adminlist = {70746}
@give <USGN>
exemple :
@give 1
adminlist = {70746,1}
help me?
please
addhook("say","insertusgn",10001) function insertusgn(id,t) 	if (t:sub(1,5)=="@give") then 		local usgn=tonumber(t:sub(7)) 		table.insert(adminlist,usgn) 		msg2(id,usgn.." has been promoted to admin!") 	end end
addhook("say","insertusgn",10001) function insertusgn(id,t) 	if (t:sub(1,5)=="@give") then 		local usgn=tonumber(t:sub(7)) 		table.insert(adminlist,usgn) 		msg2(id,usgn.." has been promoted to admin!") 	end end
for i,v in pairs(adminlist) do 	print(string.char(169).."Admin USGN: "..v) end
for i,v in pairs(adminlist) do 	print(string.char(169).."Admin USGN: "..v) end
adminlist = {} addhook("say","insertusgn",10001) function insertusgn(id,t) if (t:sub(1,5)=="@give") then local usgn=tonumber(t:sub(7)) table.insert(adminlist,usgn) msg2(id,usgn.." has been promoted to admin!") for i,v in pairs(adminlist) do print(string.char(169).."Admin USGN: "..v) end end end
adminlist = {} addhook("say","insertusgn",10001) function insertusgn(id,t) 	if (t:sub(1,5)=="@give") then 		local usgn=tonumber(t:sub(7)) 		table.insert(adminlist,usgn) 		msg2(id,usgn.." has been promoted to admin!") 	end 	for i,v in pairs(adminlist) do 		print(string.char(169).."Admin USGN: "..v) 	end end
adminlist = {} addhook("say","insertusgn",10001) function insertusgn(id,t) 	if (t:sub(1,5)=="@give") then 		local usgn=tonumber(t:sub(7)) 		table.insert(adminlist,usgn) 		msg2(id,usgn.." has been promoted to admin!") 	end 	for i,v in pairs(adminlist) do 		print(string.char(169).."Admin USGN: "..v) 	end end
adminlist = {} addhook("second","addallusgn") function addallusgn() 	function totable(t,m) 		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 	openfile=io.open("sys/lua/adminlist.txt") 	for line in openfile:lines do 		parses=totable(line) 		if line~=nil then 			if tonumber(parses[1])~=nil then 				table.insert(adminlist,tonumber(parses[1])) 			end 		end 	end 	freehook("second","addallusgn") end addhook("say","insertusgn",10001) function insertusgn(id,t) 	if (t:sub(1,5)=="@give") then 		local usgn=tonumber(t:sub(7)) 		table.insert(adminlist,usgn) 		msg2(id,usgn.." has been promoted to admin!") 		saveusgn = io.open("sys/lua/adminlistfile.txt") 		saveusgn:write("\n"..usgn) 	end end
adminlist = {} addhook("second","addallusgn") function addallusgn() function totable(t,m) 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 openfile=io.open("sys/lua/adminlist.txt") for line in openfile:lines do parses=totable(line) if line~=nil then if tonumber(parses[1])~=nil then table.insert(adminlist,tonumber(parses[1])) end end end freehook("second","addallusgn") end addhook("say","insertusgn",10001) function insertusgn(id,t) if (t:sub(1,5)=="@give") then local usgn=tonumber(t:sub(7)) table.insert(adminlist,usgn) msg2(id,usgn.." has been promoted to admin!") saveusgn = io.open("sys/lua/adminlistfile.txt") saveusgn:write("\n"..usgn) end end