function lolz(thePlayer)
if spam then outputChatBox("dont spam",thePlayer,255,0,0) return end
outputChatBox("works",root,0,255,0)
spam = true
setTimer(function() spam = false end,30000,1)
end
addCommandHandler("yup", lolz)
How do I make anti-spam function for source ?