Mercurial > wow > inventory
comparison 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 |
comparison
equal
deleted
inserted
replaced
203:585cfb690080 | 204:4f5e114fe15f |
---|---|
70 if self:HasQueue() then | 70 if self:HasQueue() then |
71 addon:Debug("Alerts:HasQueue, processing"); | 71 addon:Debug("Alerts:HasQueue, processing"); |
72 --addon:Debug(queue); | 72 --addon:Debug(queue); |
73 | 73 |
74 self:ProcessScan(verbal); | 74 self:ProcessScan(verbal); |
75 else | |
76 if verbal then | |
77 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); | |
78 end | |
75 end | 79 end |
76 end | 80 end |
77 | 81 |
78 function mod:QeueueScan(groupSettings, itemId, scanType) | 82 function mod:QeueueScan(groupSettings, itemId, scanType) |
79 table.insert(queue, { | 83 table.insert(queue, { |