Ok now I need something to work with the above script I last posted. Something that works for the pm as an example.

on ^1:OPEN:?:*: {
  ; if statement that allows mIRC to open private message windows only nicknames from test.txt
  ; if user is not on this list, no window will popup at all. and will echo the following to my active window
  ; .echo -a  $+ $nick just tried messaging you $+ : 12 $+ $1-

If you haven't guessed, its sort of a private message blocker that im trying to make for my girlfriend. And since I know hardly a thing about read/write commands, it has been quite a pain in my ass

If you can help with this one too, I would appreciate it.