I want to make a server side mod that will read users posts and see if it contains any banned words or is too long (over 1 line)
If it is the player will either recieve a caution or will have shout priv removed.
What i need to do:
1) Register chat send (is there a function for this?)
2) Check if the string contains/contains excessivly ammounts of keywords (strfind (str, substr, [init, [end]])?)
3) Deal punishment accordingly. (something like server.banprivs(player,"shout");)