10 Minute Kick!!
Moderator: Moderators
-
IamEvil4
- Posts: 7
- Joined: 2003-02-13 12:31
10 Minute Kick!!
If that a user could come into the hub for ten minutes then a bot would kick that person out if there not registered. So they could come in and check it out and get the Info they need to register. I would appeciate any info on writing or getting a script like that. Thank you IamEvil4 
-
Marvin
- Posts: 147
- Joined: 2003-03-06 11:56
- Location: France
You could use a Scripting.Dictionary object to store name and timestamp on the NewUserConnected event, send them a private message to explain registering. Then check your Scripting.Dictionary every 1 or 2 minutes to kick users whose delay has expired. I would suggest to clear the Scripting.Dictionary only after 20 minutes or more, to prevent users to reconnect without registering.
Who is online
Users browsing this forum: Google [Bot] and 0 guests