So this is my code
function loHoo()
print("Do I")
file.CreateDir("test_logs")
testFile = "test_logs/" .. os.date("%m_%d_%Y %I_%M %p") .. ".txt"
file.Write(testFile, os.date() .. " " .. text)
file.Append(testFile, "
" .. os.date() .. " " .. (text or ""))
end
hook.Add( "PlayerSay", "chatCommand", loHoo )
Its not even printing Do I, and its not shooting any lua errors, anyone know why or can help me? Please and thank you