I need a script that saves a log of a /who command for my channel every minute.
I know mIRC has a Timer function already built in, so, I figure it will be simple to do this in mIRC language.

I will write what the basic code idea would be in English.

Code:
while(Timer == one Minutre)          <--------    #When the timer is at one minute...
{
      clearLog;             <--------                          #Clear the screen so the log isn't huge
      /who #mychannel;           <--------             #Get the /who data (See who is in the channel)
      saveLog to D:\site\log.txt;   <--------        #Save the /who information
      resetTimer;                           <--------        #Start the timer again and wait for one minute to pass
}


Is this possible via a mIRC script?
If so, how would that be written as an mIRC script?
Thank you for your help.