ID:264003
 
Code:
client/New()
new /obj/Say(src)//Creates the Say Hud
..() // Continues with the script (used for not getting a connection died)

obj/Say//The actual Say Hud
icon = 'Hud.dmi'
icon_state = "Say"
screen_loc = "1,1"//Tells where the XY are
Click(T as text)//When you click it, it does its action..
if(mute == 0)
view()<< "[usr] says: [filter(T)]"

else
usr << "You cant speak when you muted!"
return
New(client/C)
C.screen+=src//Add it to your screen


mob
proc
symbol(length as num)
var/T
for(var/i = 0,i < length,i++)
T += "*"
//T += pick("!","@","#","$","%","^","&","*")
return T

filter(msg as text)
var/txt = lowertext(msg)
var/a
var/out
for(var/swr in swears)
if(findtext(txt,"[swr]"))
for(var/i = 1, i <= length(txt))
a = copytext(msg, i, i+length(swr))
if(lowertext(a) == "[swr]")
a = symbol(length(swr))
i+= length(swr)
out += "[a]"
else
out += copytext(msg, i, i+1)
i ++
msg = out
txt = lowertext(msg)
out = ""
return msg


Problem description:

it says the filter proc is undefined
You shouldn't have the filter proc defined under mob. Rather than
mob
proc
filter()//whatever

it should be
proc
filter()//whatever