=====
mIRC 7.79
=====
I'm planning..(well, I'm trying, but it looks I'm not a good student), a kinda notice WARNING.
I created a file noticeblocked.txt in a directory ADDONS

Then I added 2 lines in a remote:
Code
  •NOTICELOCKER•
  .LOCK $1 : /write addons/noticeblocked.txt $1
  .UNLOCK $1 : /write -d addons/noticeblocked.txt $1

This to can easily add/remove a nick in file .txt

Then I created this:
Code

on *:notice:*:?: {
  if ($read(addons/noticeblocked.txt) iswm $nick) {
    .notice $nick NOTICE NOT ALLOWED !!!
  }
}

It works only if I have 1 nick in list. If I have 2 or more, it doesn't work.
Why?
Any help is appreciated as always.
Thanks in advance.