|
|
Problem description:
mob/verb/OOC(t as text)
if(usr.muted){return 0}
else(world<<"[usr.name] says: [t]")
mob/verb/say_to_view(t as text)
view()<<"[usr.name] says: [t]"
mob/verb/whisper(mob/M in world, t as text)
M<<"[usr.name] whispers: [t]"
usr<<"You say [t] to [M.name]!
mob/var/muted=0
mob/mod/verb/mute_person(mob/M in world)
M.muted=1
usr<<"You mute [M.name]"
M<<"You have been muted!"
Also, code goes BETWEEN the <DM></DM> tags. It makes it formatted in a readable manner.