diff Modules/Alerts.lua @ 204:4f5e114fe15f

When manually asking for a stock alert (with /im a or by middle-clicking the minimap button), you will now be notified if nothing was queued.
author Zerotorescue
date Sat, 05 Feb 2011 19:36:15 +0100
parents 15f22a466596
children
line wrap: on
line diff
--- a/Modules/Alerts.lua	Sat Feb 05 19:34:33 2011 +0100
+++ b/Modules/Alerts.lua	Sat Feb 05 19:36:15 2011 +0100
@@ -72,6 +72,10 @@
 		--addon:Debug(queue);
 		
 		self:ProcessScan(verbal);
+	else
+		if verbal then
+			addon:Print("Nothing was added to the scan queue, you might chosen to be excluded from the alert box or you aren't tracking any items.", addon.Colors.Red);
+		end
 	end
 end