addHook("PlayerMsg", function(p, _, _, m) if #m > 220 then CONS_Printf(p, "Messages longer than 220 characters cannot be sent!") return true end end)