vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui xmlns="http://www.blizzard.com/wow/ui/"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> 
   <Script file="FTL.lua"/> 
   <!-- Frame to handle all core events --> 
   <Frame name="FTL"> 
      <Scripts> 
         <OnLoad> 
            this:RegisterEvent("CHAT_MSG_WHISPER");
            this:RegisterEvent("UI_ERROR_MESSAGE");
            this:RegisterEvent("AUTOFOLLOW_BEGIN");
            this:RegisterEvent("AUTOFOLLOW_END");
         </OnLoad> 
         <OnEvent> 
               if (event == "CHAT_MSG_WHISPER") then
                        FTL_ProcessChat(arg1, arg2);
                elseif (event == "UI_ERROR_MESSAGE") then
                        FTL_ProcessError(arg1);
                elseif (event == "AUTOFOLLOW_BEGIN") then
                        FTL_Following(arg1);
                elseif (event == "AUTOFOLLOW_END") then
                        FTL_Stopped();
                end
         </OnEvent> 
      </Scripts> 
   </Frame> 
</Ui>

Generated by GNU Enscript 1.6.5.90.