ID:261341
 
I dont want people to be able to lag my game, so I tried to make it so that if they put over x amount of letters, it wouldnt send it,
mob/verb/Say(T as text)
if(length(T) > 300)
alert("The message is too long!","Too Long")
else
view() << "[usr] says: [T]"

No matter how long the message is, it is sent, what am I doing wrong?
Try using Lentext() instead of Length().