By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

User-specific chat

The1corrupted
100+
P: 134
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"
Feb 27 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.