mob/verb/say(T as text)
set hidden = 1
var/list/mobs = list()
if(mutelist.Find(src.key))
src << "You're muted, therefore you can't talk."
else
if(T)
if(findtext(T,"\n"))
src << "Please refrain from spamming."
src.spam++
else
for(var/mob/M in view(src))
if(M)
if(M.client)
src.spam++
mobs+=M
mobs-=src
mobs << "\icon[src]([src] says:) [html_encode(T)]"
src << "\icon[src](<font color = #CCCCCC>[src]</font> says:) [html_encode(T)]"
mobs=null
if(src.spam>=3)
mutelist.Add(src.key)
world << "<B>[src] has auto-muted by the Spam Protector, he will be unmuted within 10 minutes.</B>"
src.spam = 0
sleep(100*600)
if(mutelist.Find(src.key))
mutelist.Remove(src.key)
world << "<B>[src] has been auto-unmuted by the Spam Protector."
sleep(10)
src.spam--
:|
It says it can't remove from the list(durring runtime).
*cough*cheapbump*cough*