var
spam_limit = 15
spam_time = 20 // This makes sure you can't spam
mob/verb/OOC(text as text)
set category = "Communications"
// text = Cheatcode(src, text)
if(!text) return
if(spoken >= spam_limit)
usr << "<b><Font Color = Red>Shut Up Spamer</font>"
return 0
world << "<B>[usr] OOC</B>: [text]"
usr.spoken += 1
mob/verb/Say(text as text)
set category = "Communications"
// text = Cheatcode(src, text)
if(!text) return
if(spoken >= spam_limit)
usr << "<b><Font Color = Red>Shut Up Spamer</font>"
return 0
view() << "[usr] Says: [text]"
usr.spoken += 1
//Spam Guard
mob
var/spoken = 0
proc/Spoken(mob/M,N as num)
if(M.spoken >= spam_limit)
usr << "<b><Font Color = Red>SHUT UP</font>"
proc/Spam_Less()
spoken = max(0,spoken-1)
spawn(spam_time) Spam_Less()
mob
New()
..()
spawn(spam_time) Spam_Less()
//Debugging
//mob/Stat()
// statpanel("Spammy")
// stat("Current_Spam",usr.spoken)
Please Help me