Well, this should work. It worked for me.
alias chk.time {
timerchk 0 1 if ($day == Monday) {
if ($exists(passwordlist.ini)) {
remove passwordlist.ini
timerchk off
}
else {
timerchk off
}
}
}
* Timer chk activated
* Removed 'C:\Documents and Settings\Andy\Desktop\mIRC\passwordlist.ini'
* Timer chk halted
It removed it straight away because today is 'Monday'. This script is probably too late. But you can always change the date in the above alias to another day. The timer will be in a continuous loop until it reaches the day you choose and then will check to see if you have a file called passwordlist.ini, if you have that file in $mircdir it will remove it and halt the timer, if not it will halt the timer anyway.
Here's what you should have in your remote scripts...
On *:TEXT:mypassword &:?: {
If ($2 isnum) { writeini -n Passwordlist.ini Passwords $Nick $2 }
}
On *:TEXT:!ID:?: {
play -tPasswords $Nick Passwordlist.ini
}
alias chk.time {
timerchk 0 1 if ($day == Monday) {
if ($exists(passwordlist.ini)) {
remove passwordlist.ini
timerchk off
}
else {
timerchk off
}
}
}