mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 1
P
Mostly harmless
OP Offline
Mostly harmless
P
Joined: Feb 2004
Posts: 1
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.


Joined: Sep 2003
Posts: 15
R
Pikka bird
Offline
Pikka bird
R
Joined: Sep 2003
Posts: 15
Make all your commands into 1 alias and use raw 352 for the who replies and aline the info to a @window and after its done raw 315 usually /savebuf the @window. /timer 0 60 alias I wouldnt recommend making this script cause of the constant /who usage.


Link Copied to Clipboard