Updated script provides private message protection - works with lx-ignore which is a whole lot better than my own ignoreaddon script. Has friends list.
Installation: Just load the script. You can enable/disable PM Protection globally (via menu) or locally (via commandline).
Friends can always PM you. If you already opened a PM to someone then these people will also be allowed to PM you as long as the PM window stays open.
/friends Lists all people on your friends list
/friend Adds a nick or hostmask to your friends list
/unfriend Removes an entry from the friends list
Friends are at the moment global, i.e. not server specific.
/pmprotecton Enables PM protection
/pmprotectoff Disables PM protection
size: 4528 bytes