User-specific chat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • The1corrupted
    New Member
    • Feb 2007
    • 134

    #1

    User-specific chat

    Okay, here's the issue I'm confronted with. I have a chat system in the works and right now, I'm trying to make the display of it user-specific using at least one session variable. I want to compare the current session with the other users in the area (coords that match).

    I want to make it appear as follows..
    If the message originates from you:
    You (command)
    You said to they, "message"
    If the message originates from other:
    They (command)
    They said to Them, "other message"

    and lastly, if the message targets you..
    They said to You, "yet another message"
Working...