-- Register the event handlers: |
-- ============================= |
-- this:RegisterEvent("VARIABLES_LOADED"); -- eventually will call OnEvent |
this:RegisterEvent("CHAT_MSG"); |
self:RegisterEvent("CHAT_MSG"); |
|
this:RegisterEvent("CHAT_MSG_ADDON"); |
this:RegisterEvent("CHAT_MSG_SYSTEM"); -- for the /who |
this:RegisterEvent("WHO_LIST_UPDATE"); -- for the /who |
self:RegisterEvent("CHAT_MSG_ADDON"); |
self:RegisterEvent("CHAT_MSG_SYSTEM"); -- for the /who |
self:RegisterEvent("WHO_LIST_UPDATE"); -- for the /who |
|
|
-- raid command stuff: |
-- this:RegisterEvent("CHAT_MSG_RAID"); |
-- this:RegisterEvent("CHAT_MSG_PARTY"); |
-- self:RegisterEvent("CHAT_MSG_RAID"); |
-- self:RegisterEvent("CHAT_MSG_PARTY"); |
|
-- Party/Roster stuff: |
this:RegisterEvent("RAID_ROSTER_UPDATE"); |
this:RegisterEvent("CHAT_MSG_CHANNEL"); -- will update with alias names, will watch for potential peers |
this:RegisterEvent("CHAT_MSG_GUILD"); -- will update with alias names |
this:RegisterEvent("CHAT_MSG_RAID"); -- will update with alias names |
this:RegisterEvent("CHAT_MSG_PARTY"); -- will update with alias names |
this:RegisterEvent("VARIABLES_LOADED"); |
this:RegisterEvent("PLAYER_ENTERING_WORLD"); -- will start a timer for initial syncs |
this:RegisterEvent("MINIMAP_ZONE_CHANGED"); -- Update our last known location |
self:RegisterEvent("RAID_ROSTER_UPDATE"); |
self:RegisterEvent("CHAT_MSG_CHANNEL"); -- will update with alias names, will watch for potential peers |
self:RegisterEvent("CHAT_MSG_GUILD"); -- will update with alias names |
self:RegisterEvent("CHAT_MSG_RAID"); -- will update with alias names |
self:RegisterEvent("CHAT_MSG_PARTY"); -- will update with alias names |
self:RegisterEvent("VARIABLES_LOADED"); |
self:RegisterEvent("PLAYER_ENTERING_WORLD"); -- will start a timer for initial syncs |
self:RegisterEvent("MINIMAP_ZONE_CHANGED"); -- Update our last known location |
|
this:RegisterEvent("CHAT_MSG_CHANNEL_JOIN"); -- watch for potential peers joining the channel |
this:RegisterEvent("GUILD_ROSTER_UPDATE"); -- watch for potential peers joining the channel |
self:RegisterEvent("CHAT_MSG_CHANNEL_JOIN"); -- watch for potential peers joining the channel |
self:RegisterEvent("GUILD_ROSTER_UPDATE"); -- watch for potential peers joining the channel |
|
|
if (not myPlayerName) then |