Report as inappropriate.
This is my version of a simple messager system using the UserInfo class. You can send other people messages that only they can see (and the author, me).
You can have up to 5 messages sent to others concurrently, after that the oldest one will be deleted. This is a limitation of the UserInfo class.
The system works by storing the messages in the String slots of the sender's UserInfo object. In the integer slots, it stores the hashed target user that should recieve the message, and the time stamp at which the message was sent.
Because the username of the target user has to be hashed (converted to an integer) because of storage limitations, the target user cannot simply be read out. Because of that you may see 'User could not be loaded' in a sent message. Once the other person opened this scenario for at least once the name will show up though.
2074 views / 828 in the last 7 days
8 votes | 1 in the last 7 days
This scenario is a member of: UNiTy iN NeEd