moods
[[moods]] last edit on Jun 10, 2007 10:59 AM by l1nx

This page is under development and subject to change!

Mood Numerical Codes

  • 0 - None
  • 1 - Angry
  • 2 - Excited
  • 3 - Grumpy
  • 4 - Happy
  • 5 - In Love
  • 6 - Invincible
  • 7 - Sad
  • 8 - Hot
  • 9 - Sick
  • 10 - Sleepy

Sending mood changes

Send the following to the server:

 ln=LEN\000id=NUMBER\000cm=41\000ms=MOOD

  • LEN - Length of message
  • NUMBER - The number you used to register. Should be in this format: 27831234567
  • MOOD - The numerical value of the mood

The server returns:

 ln=4\00041\0000


Receiving mood changes


You receive mood changes like a status change. You will only be sent mood changes if your version is above 5.0.5 ( I think. Use at least 5.1.0 in case )

 ln=LEN\0003\0000\000\001SENDER\001SENDERNAME\0010\000STATUS\000TYPE\000MOOD


  • LEN - Length of message
  • SENDER - Sender of message. Should be in this format: 2783987654@mxit.co.za
  • SENDERNAME - Contact name of the sender.
  • STATUS - The numerical value of the status: 0 = offline, 1 = online, 2 = away, 4 = busy
  • TYPE - Either 0 for Mxit or 1 for Jabber
  • MOOD - One of the codes listed above for the mood.======Implementing moods for Jabber

Idea 1: Status messages

Changing the status to be something like: "Away, Mood: Sad"

Idea 2: XMPP User Moods

A draft specification exists (No doubt where MXit got the idea from) for user moods in Jabber. This is probably the most ideal way for moods depending on how wide it's adopted.