I have my server and I'd like to know how to script, that if player plays 1 h, he automaticly gets VIP rank. I'm using HC Admin Script. Waiting for response guys!

addhook("join", "rankj") function rankj(id) if(player(id, "rank") == <rank as you want>) then msg("You are VIP") end end
if x[id]>60 then --setrank script end
local v=GetUserStatsRank(usgn_id_vip) if not v.isexists then return end	-- if you 100% sure that the USGN will be exists in the userstats.dat, delete this line if v.time>=3600 then 	-- code to be vip here end