comparison ICU.lua @ 12:2d952bc9897a

Managed to overwrite my local development copy of the project with the latest uploaded revision ... /facepalm This commit/push is the same as r11
author Xiiph
date Sat, 19 Feb 2011 19:22:44 +0100
parents 0ed4c1a0412e
children ed15bd476bbb
comparison
equal deleted inserted replaced
11:0ed4c1a0412e 12:2d952bc9897a
637 local db = icu:getDB(); 637 local db = icu:getDB();
638 if msg == db.profile.noFoodMessage or msg == db.profile.noFlaskMessage or msg == db.profile.lowFlaskDurationMessage or msg == (L["ICU"]..": "..db.profile.noFoodMessage) or msg == (L["ICU"]..": "..db.profile.noFlaskMessage) or msg == (L["ICU"]..": "..db.profile.lowFlaskDurationMessage) then return true end 638 if msg == db.profile.noFoodMessage or msg == db.profile.noFlaskMessage or msg == db.profile.lowFlaskDurationMessage or msg == (L["ICU"]..": "..db.profile.noFoodMessage) or msg == (L["ICU"]..": "..db.profile.noFlaskMessage) or msg == (L["ICU"]..": "..db.profile.lowFlaskDurationMessage) then return true end
639 end 639 end
640 ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_ICU_INFORM", filterChat) 640 ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_ICU_INFORM", filterChat)
641 641
642 --@do-not-package@
643 function icu:test(cond)
644 if true and not cond then
645 print("First.")
646 else
647 print("Second.")
648 end
649 end
650
651 function icu:grabVar(var)
652 print(self.db.profile[var])
653 end
654
655 _G.icu = icu;
656 --@end-do-not-package@