Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Hero
« on: September 29, 2008, 01:46:48 PM »

Just wanted to point out:

> 600 - Checks if they have been idle for more than 600 seconds
GetInternalUserCount - Gets the amount of users in the channel
GetInternalData - Gets data about a user by an integer that represents their spot in the channel

You want to put that piece of code he gave you into a timer that executes about every 5-40 seconds.
Posted by: Pyro
« on: September 29, 2008, 01:07:58 PM »

Code: [Select]
For x = 1 To GetInternalUserCount
    If (GetInternalData(x, 7) > 600) Then
        ' do actions.
    End If
Next
Posted by: Ace
« on: September 28, 2008, 04:55:25 PM »

Yes I know you told me yesterday hero but i didn't get it.

How do you get how long a user has been idle and if it is above like 10 minutes, it does something?
And how do you do it for every user in the channel?  Some kind of UBound thing?