;This event checks if someone Private Messages you with 'mypassword' and then goes on to check if $2 (the second parameter isnum (a numeric value)). If it's true then a file called passwordlist.ini is created for you.


The ini configuration file will look something like
[Passwords]
JohanDerksen=12345

Code:
On *:TEXT:mypassword &:?: {
  If ($2 isnum) { writeini -n Passwordlist.ini Passwords $Nick $2 }
}


;This event checks when someone types '!ID' in a private message to you. And then displays the contents of the ini configuration file to them.

Code:
On *:TEXT:!ID:?: { 
  play -tPasswords $Nick Passwordlist.ini 
}


;This event means when mIRC is started up on your machine it checks the date for you. If the day is monday and the variable %passwordclear is null, it removes the passwordsset section from passwordlist.ini. Otherwise if %passwordclear is true it unsets the variable.

Code:
On *:START: {
  If ($Day == Monday) {
    If (!%Passwordclear) {
      remini Passwordlist.ini Passwordsset %Passwordclear Yes
    }
  }
  Else { 
    unset %Passwordclear 
  }
}


This code has nothing to do with me, I just added some comments on how the code works. As that Relinsquish said, he don't know whether or not the check day event works as it's not been tried. May I just add a little note to Relinsquish, you shouldn't post code in that hasn't been tested.