mob/verb
Whisper()
var/varPeople = list()
for(var/mob/T in world)
if(T.key)
varPeople += T
var/M=input("Who would you like to whisper to?","") in varPeople +list("Cancel")
if(M=="Cancel")
return
else
var/msg=input("") as text
M << output("\blue([usr.Village])\red([usr.rank])</FONT color>--[usr.name]: [html_encode(msg)]", "IMout.output")
M:sender=usr
mob
verb
send(msg as text)
if(usr.sender)
var/mob/M=usr.sender
M << output("\blue([usr.Village])\red([usr.rank])</FONT color>--[usr.name]: [html_encode(msg)]", "IMout.output")
M.sender=usr
the first code is to initiate the chat and the next is to send using the messager window. But i cant get the messager window to pop up