ID:266832
Jul 19 2002, 11:27 am
|
|
I need help making a code that allows Admins to hear everything said wether people are using say, whisper, ect.. I need one with as few variables as possible, thanks ;-)
|
Copyright © 2024 BYOND Software.
All rights reserved.
mob/verb/whisper(mob/M in world,msg as text)
for(var/mob/M2 in world)
if(M2.GM == 1)
M2 <<"[usr] whispered to [M]: [msg]"
M <<"[usr] whispers to you!: [msg]"
usr <<"You whisper, [msg]"
else
M <<"[usr] whispers to you!: [msg]"
usr <<"You whisper, [msg]"
-------
mob/verb/say(msg as text)
for(var/mob/M2 in world)
if(M2.GM == 1)
M2 <<"[usr] Said: [msg]"
view() <<"[usr] Says, [msg]"
else
view() <<"[usr] Says, [msg]"