Thread Tools Display Modes
03-01-12, 09:42 AM   #1
chumii
A Fallenroot Satyr
 
chumii's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jun 2009
Posts: 23
[REQUEST] Simple Reminder when entering a raid

Hey,

I hope someone can help me... i can edit lua files, but i cant write sth from scratch...

what I am looking for, is a simple little window that appears, when I am entering a raid, reminding me to start the world of logs client ...

someting like this would be enough



Would be awesome if someone could write that!

greetz
chumii
  Reply With Quote
03-01-12, 10:24 AM   #2
Melikae
A Fallenroot Satyr
Join Date: Apr 2006
Posts: 29
You could use LoggerHead to automatically enable and disable logging...

€: It does not remind you to start the client, but it prints a message "Logging enabled", that is normally enough reminder for me xD
__________________
In the beginning the Universe was created.
This has made a lot of people very angry and was widely regarded as a bad move. - Douglas Adams
  Reply With Quote
03-01-12, 10:51 AM   #3
oomp
A Murloc Raider
 
oomp's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 7
Here's a small addon I wrote for myself to automatically start logging and print a message whenever I enter any of the listed instances, hope it helps you somehow!

lua Code:
  1. local Clogger = CreateFrame("Frame")
  2. Clogger.status = "|cff39d7ecClogger:|r %s"
  3. Clogger.instances = {
  4.     ["Baradin Hold"] = true,
  5.     ["Bastion of Twilight"] = true,
  6.     ["Blackwing Descent"] = true,
  7.     ["Dragon Soul"] = true,
  8.     ["Firelands"] = true,
  9.     ["Throne of the Four Winds"] = true,
  10. }
  11.  
  12. Clogger:SetScript("OnEvent", function(self)
  13.     self.logging = LoggingCombat()
  14.     LoggingCombat(select(2, IsInInstance()) == "raid" and self.instances[GetInstanceInfo()])
  15.     if self.logging ~= LoggingCombat() then print(LoggingCombat() and self.status:format(COMBATLOGENABLED) or self.status:format(COMBATLOGDISABLED)) end
  16. end)
  17.  
  18. SLASH_CLOGGER1, SLASH_CLOGGER2 = "/clogger", "/clog"
  19. SlashCmdList.CLOGGER = function()
  20.     print(LoggingCombat() and Clogger.status:format("|cff00ff00"..COMBATLOGENABLED.."|r") or Clogger.status:format("|cffff0000"..COMBATLOGDISABLED.."|r"))
  21. end
  22.  
  23. Clogger:RegisterEvent("PLAYER_ENTERING_WORLD")
  Reply With Quote
03-01-12, 10:55 AM   #4
chumii
A Fallenroot Satyr
 
chumii's Avatar
AddOn Compiler - Click to view compilations
Join Date: Jun 2009
Posts: 23
hey,

will try your code later, thx for that..

and thx for that LoggerHead... i realised it by creating a weakaura that triggers chat messages =)
enough for now, but to optimize...

got to raid now xD

cheers
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » [REQUEST] Simple Reminder when entering a raid


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off