I had gone through your coding...Actually I need to keep a track of users who are logged with our channel BOT, and to refresh the logged user table (a text file/ini file) as soon as one of the users leaves the particular iRC network [provided once after the authentication, user leaves the channel and keeps himself/herself busy in whisper boxes]. Say something like- I will perform a $isonline($address) and if I am getting a $null, immediately the user will be removed from the table! It seems, we have to wait till Khalid adds a $isonline module into mIRC :O)