vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <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/">
2 <Script file="FTL.lua"/>
3 <!-- Frame to handle all core events -->
4 <Frame name="FTL">
5 <Scripts>
6 <OnLoad>
7 this:RegisterEvent("CHAT_MSG_WHISPER");
8 this:RegisterEvent("UI_ERROR_MESSAGE");
9 this:RegisterEvent("AUTOFOLLOW_BEGIN");
10 this:RegisterEvent("AUTOFOLLOW_END");
11 </OnLoad>
12 <OnEvent>
13 if (event == "CHAT_MSG_WHISPER") then
14 FTL_ProcessChat(arg1, arg2);
15 elseif (event == "UI_ERROR_MESSAGE") then
16 FTL_ProcessError(arg1);
17 elseif (event == "AUTOFOLLOW_BEGIN") then
18 FTL_Following(arg1);
19 elseif (event == "AUTOFOLLOW_END") then
20 FTL_Stopped();
21 end
22 </OnEvent>
23 </Scripts>
24 </Frame>
25 </Ui>