ID:1646476
 
(See the best response by MDC.)
Code:
mob/var/say_delay = 0
mob/var/muted = 0
mob/var/mute_time = 0
mob/var/spammed = 0
var/World_Mute=0
var/Channel_Mute = 0



mob/verb/OOC(T as text)
set category = "Channels"
if(src.muted)
src << "You have been muted!"
return
if(World_Mute && !src.GM)
src << "The world is Muted!"
return
if(!T)
spawn() alert("Your message may not be blank.")
return
if(lentext(T) > 150)
spawn() alert("Your message can not exceed 100 characters.")
T = copytext(T,1,150)
else
ChatLog(src,"OOC:[T]")
for(var/client/C)
if(!C)continue
if(!C.mob) continue


I just dont know what's wrong. This is what it says. Coding\OOC.dm:25:error: ChatLog: undefined proc

Best response
you're calling a proc "ChatLog()" which is not defined anywhere. I think what you're looking for is outputting the text.
what you want to do if you want to out put is use
world << "OOY:[B]"