mob/proc/SendPM(mob/M in world, msg as text)
M << output("<IMG CLASS=icon SRC=\ref[src.icon] ICONSTATE='[src.icon_state]'><b><font color= blue>[src]</font> </b>[msg]", "pm.output")
src << output("<IMG CLASS=icon SRC=\ref[src.icon] ICONSTATE='[src.icon_state]'><b><font color= green>[src]</font> </b>[msg]", "pm.output")
mob/verb/Send(msg as text)
set hidden=1
for(var/mob/M in world)
if(M.client)
src.SendPM(M,msg)
return
mob/verb/Private_Message(mob/M in world)
winshow(usr,"pm",1)
winset(usr,"pm","title=[M.key]")
That my Code but, when i talk to some1, and i want to talk other The Messages Appear in Same Window, And i want The PM in Separated Windows. Any Idea?
-Gohan