Sorry, but the code for htis is doing my head in... You modify the origin sent as an argument from the ChatWndReceiveMessage event meaning it can't be re-used later in the function. I think a seperate variable would be better for this
Also, I would use:
code:
if (contactlar.Status > 2) {
PlusWnd.Combo_AddItem('liste', contactlar.Email);
}
Rather than:
code:
if (contactlar.Status != 1) {
PlusWnd.Combo_AddItem('liste', contactlar.Email);
}
As the second will add contacts with an unknown status (who may be offline)
I know I shouldn't be editing the script really anyway (
Neither should you really), but I want it to show Emails instead of Usernames. There should definately be an option to choose as the box gets too "confusing".
I don't think this is something that I would use very often, if at all, due to it's
little flaws that I've found so far...
I resized the window in my version to make it easier to read. However, you may want to change the width of the RichStaticControl as it hides the "X" button to close the window most of the time