A simple addon to block unwanted whispers (gold sellers, beggars, lazy questers, boost-pests etc). 
Only superficially tested since release.. feedback welcome.

My first attempt at addon-creation, this was to replace WRUGS which seems a bit buggy under WoW 2.4., since I could not find a working alternative.

Guild-scan and friends-scan code unashamedly filched and modified from WRUGS.

Blocker will completely hide all whispers from (and to) anyone who is not either in your friends list, or in your guild.  There is no white-list, if you want to talk to someone who is being blocked, either turn off the addon or add them to your friends list.

Remember to turn it off if you're in LFG :)

Blocked whisperers will receive a polite message advising them that their message was blocked and you don't want to be disturbed.  You can choose to either be completely oblivious to blocked whispers, or turn on reporting for a notification message.

Command line options:-

/blocker		(reports status)
/blocker on		(enables blocking)
/blocker off		(disables blocking)
/blocker report 	(notifies you when a whisper has been blocked)
/blocker noreport 	(disables notifications, you won't see anything when a whisper is blocked)
/blocker gui		(enables the gui)
/blocker nogui		(disables the gui)


v1.1.0 changes
--------------
Added a simple, movable 2-button frame to show the current status, and allow easy toggling on/off. It can be hidden with "/blocker nogui".
Settings now saved per-character.
Will no longer send an auto-reply whisper when a message is blocked if it is less than 3 seconds since it sent the last one.  This is to avoid creating a loop if the other party has an auto-response (addon, afk, DND etc).
Some minor cosmetic changes.
NOTE: On first installation, or after upgrading from 1.0.0, all settings will default to OFF.  See commands above to turn features on.