bucko
12-06-2007, 09:14 AM
I'm trying to get the details of all the users in a room by way of the room plugin.
//I think this bit is ok...
var zoneId = getApi().getZoneId();
var roomId = getApi().getRoomId();
var usersArr = getApi().getUsersInRoom(zoneId,roomId).toArray();
//now i'm not sure...
for (var i in usersArr)
{
// trace the username and any uservariables
}
Thanks.
And double thanks for all your prompt replies to my queries!
//I think this bit is ok...
var zoneId = getApi().getZoneId();
var roomId = getApi().getRoomId();
var usersArr = getApi().getUsersInRoom(zoneId,roomId).toArray();
//now i'm not sure...
for (var i in usersArr)
{
// trace the username and any uservariables
}
Thanks.
And double thanks for all your prompt replies to my queries!