1
2
3
4
2
3
4
say : !view <ID> "Player Name" The IP is : <IP> "Player Name" The USGN Name is <USGN NAME > "Player Name" The USGN ID is <USGN ID>
please help me
Scripts
View
View
1

say : !view <ID> "Player Name" The IP is : <IP> "Player Name" The USGN Name is <USGN NAME > "Player Name" The USGN ID is <USGN ID>
addhook("say","_say")
function _say(id,message)
	if string.sub(message,1,6)=="!view " then
		playerID=tonumber(string.sub(message,7))
		if playerID~=nil and player(playerID,"exists") then
			msg2(id,"The IP is "..player(playerID,"ip")..".")
			--msg2(id,"The USGN Name is "..tableOfUsgn[player(playerID,"usgn")]..".")
			msg2(id,"The USGN ID is "..player(playerID,"usgn")..".")
		else
			msg2(id,string.char(169).."255000000Invaild player id.")
		end
		return 1
	end
end
tableOfUsgn={
	1="DC",
	2="etc",
	3="etc",
}
1
