Chat Spammer is a mod that can spam commands and text in chat.
This is the first version of the mod so just read the description.