<commit_before>/******************************************************************************\
  Server Information
\******************************************************************************/

e2function string map()
	return game.GetMap()
end

local hostname = GetConVar("hostname")
e2function string hostname()
	return hostname:GetString()
end

local sv_lan = GetConVar("sv_lan")
e2function number isLan()
	return sv_lan:GetBool() and 1 or 0
end

e2function string gamemode()
	return gmod.GetGamemode().Name<commit_msg>Added E2 hostip()<commit_after>/******************************************************************************\
  Server Information
\******************************************************************************/

__e2setcost(1)

e2function string map()
	return game.GetMap()
end

local hostname = GetConVar("hostname")
e2function string hostname()
	return hostname:GetString()
end

e2function string hostip()
	return game.GetIPAddress()
end

local sv_lan = GetConVar("sv_lan")
e2function number isLan()
	return sv_lan:GetBool() and 1 or 0
end

e2function string gamemode()
	return gmod.GetGamemode().Name
{'fraction_non_alphanumeric': 0.3507067137809187, 'fraction_numerical': 0.014134275618374558, 'mean_word_length': 8.137096774193548, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6435692', 'n_tokens_mistral': 314, 'n_tokens_neox': 301, 'n_words': 80}