Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)
Moderator: Moderators
-
Kid A
- Posts: 2
- Joined: 2003-05-24 11:04
Post
by Kid A » 2003-05-24 11:11
Hi everyone.
Code: Select all
Sub tmrScriptTimer_Timer()
Dim i_nbUsers
Dim s_User
i_nbUsers = colUsers.Count()
print ( "There are "+cSTR(i_nbUsers)+" online users" )
Then, I want to get the names of all users using the 'for' loop. I don't know how. Maybe with
ItemByWinsockIndex but I don't know how it works. Could you help me please ?
-
Kid A
- Posts: 2
- Joined: 2003-05-24 11:04
Post
by Kid A » 2003-05-24 11:39
Sorry, I just find it:
Code: Select all
For Each s_User in colUsers
print( s_User.sName )
Next
It was easy lol
Users browsing this forum: Google [Bot] and 0 guests