How to open group chat windows |
Author: |
Message: |
Poki
Junior Member
Posts: 16
Joined: Nov 2006
|
O.P. How to open group chat windows
Hi everyone! Must admit I'm a newbie here. Before making this question I've already looked for it in the phorum, but couldn't figure it out.
So,
I want to open a multi-chat window for a few friends that I have to check if they are online. I figured out how to do it individually, but couldn't find the option for opening multi chat window, or inviting someone to an already active chat window.
Any ideas??
Thanks in advance, Pok.
|
|
11-01-2006 12:31 AM |
|
|
ins4ne
Veteran Member
...
Posts: 1015 Reputation: 38
37 / /
Joined: Apr 2006
Status: Away
|
RE: How to open group chat windows
click the 'add contact' button
|
|
11-01-2006 12:33 AM |
|
|
Poki
Junior Member
Posts: 16
Joined: Nov 2006
|
O.P. RE: How to open group chat windows
Yeah, I know that. What I was talking about was how to script that.
Any thoughts?
|
|
11-01-2006 01:37 AM |
|
|
deAd
Scripting Contest Winner
Posts: 1060 Reputation: 28
– / /
Joined: Jan 2006
|
RE: How to open group chat windows
You can use ChatWnd.SendMessage("/invite email"). This sends the /invite command.
|
|
11-01-2006 02:10 AM |
|
|
Poki
Junior Member
Posts: 16
Joined: Nov 2006
|
O.P. RE: How to open group chat windows
Ok, thanks. That seems to work.
So another question, I really don't know much about Jscript, so, how do I immply some variable in the text? I mean, that email is actually my var semails[i] with 0<i<6....
|
|
11-01-2006 11:41 AM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: RE: How to open group chat windows
quote: Originally posted by Poki
Ok, thanks. That seems to work.
So another question, I really don't know much about Jscript, so, how do I immply some variable in the text? I mean, that email is actually my var semails[i] with 0<i<6....
See the Windows Script 5.6 Documentation. It has good information on JScript.
|
|
11-01-2006 11:45 AM |
|
|
Poki
Junior Member
Posts: 16
Joined: Nov 2006
|
O.P. RE: How to open group chat windows
Well, thanks for the advice. I'm reading the documentation.
|
|
11-01-2006 03:05 PM |
|
|
deAd
Scripting Contest Winner
Posts: 1060 Reputation: 28
– / /
Joined: Jan 2006
|
RE: How to open group chat windows
code: ChatWnd.SendMessage("/invite " + semails[i]);
Is that what you meant?
This post was edited on 11-01-2006 at 10:56 PM by deAd.
|
|
11-01-2006 10:56 PM |
|
|
Poki
Junior Member
Posts: 16
Joined: Nov 2006
|
O.P. RE: How to open group chat windows
That's it. I figured out.
Now I'm trying to count how many contacts are present in the chat window.
I've found this:
var WndContacts = iOriginWnd.Contacts;
if(WndContacts.Count == 2){do some stuff}
but I'm having problems agains..
anybody??
great help guys, I would never make a script without your help.
|
|
11-02-2006 10:59 AM |
|
|
Matti
Elite Member
Script Developer and Helper
Posts: 1646 Reputation: 39
32 / /
Joined: Apr 2004
|
RE: How to open group chat windows
What is the problem? How can we help if you don't point out what's going wrong?
We'd like to help, but we can't answer if there is no clear question.
This post was edited on 11-02-2006 at 04:14 PM by Matti.
|
|
11-02-2006 04:13 PM |
|
|
Pages: (4):
« First
[ 1 ]
2
3
4
»
Last »
|
|