I have a register command that opens a Steam Wepbage to the website. What i want to do is once they type !register and they register with their name on the website, it autopromotes them. Is there any possible way i may do that. Here is my register.lua
function registerCommand( pl, text, teamonly )
if (string.lower(text) == "!register") then
pl:SendLua([[gui.OpenURL("http://iphgaming.com/member.php?action=register")]]) -- Change ADDRESS to your chosen page.
for k, v in pairs(player.GetAll()) do v:ChatPrint( "Player " .. pl:Nick() .. " has viewed our register page!" )
end
end
end
hook.Add( "PlayerSay", "rcommand", registerCommand )