Mercurial > wow > cyborg-mmo7
diff OptionPage.xml @ 15:80192bc4a108
Replaced the global msg function with CyborgMMO_DPrint:
- avoids conflicts with other addons ('msg' is too generic)
- has 'print' semantics (several values accepted, calls tostring)
- use AddMessage with a colored prefix, instead of plain SendChatMessage
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Thu, 25 Apr 2013 01:29:55 +0000 |
parents | 6cb9a2936580 |
children | 92b62e33887b |
line wrap: on
line diff
--- a/OptionPage.xml Thu Apr 25 01:29:50 2013 +0000 +++ b/OptionPage.xml Thu Apr 25 01:29:55 2013 +0000 @@ -574,7 +574,7 @@ <Scripts> <OnLoad> CyborgMMO_LoadStrings(getglobal(self:GetName().."Title")) - msg("Loaded Option Page") + CyborgMMO_DPrint("Loaded Option Page") self = CyborgMMO_OptionView.new(self) </OnLoad> </Scripts>