Hostname changer?

Looking for something that could change my server’s hostname after a period of time, using say, a list of different hostnames that it cycles through.

[lua]
local HostNames = {
“HerpaDerpServer”,
“Don’tJoinOrIKillYou”,
“I dare you to click me”
}

local Time = 60 // change every 60 seconds

timer.Create(“ChangeHostName”,Time,0,function()
RunConsoleCommand(“hostname”,table.Random(HostNames))
end)

[/lua]