1. #1
    Mechagnome Zhaine's Avatar
    Join Date
    Sep 2008
    Location
    United Kingdom
    Posts
    642

    Weakaura at certain time of day

    I need a weakaura that appears on my screen during a certain time of the day, for example 10pm-7am.

    Getting complaints from the neighbours that I'm too noisy (Because I'm shouting during PvP) I mean its a friday night so I dunno why its an issue lol

    Thought it would be a good idea to remind me to keep quiet!
    Zhaine - Orc Warrior <Senile Chieftains> [EU-PvP] - World of Warcraft Classic Raiding Guild

  2. #2
    I dont think a weakaura will help you if you have issues keeping your cool while playing videogames.

  3. #3

  4. #4
    Code aside, it doesn't matter what day of the week you're being noisy. It is socially expected that residential areas are to be quiet between 10pm and 6am.

    With that said, you can use the following for a trigger:

    Code:
    function()
        local hour = tonumber( date( "%H" ) )
        return hour >= 22 or hour <= 6
    end

    That will return true if your computer's time is between 10:00pm and 6:59am.


    addons
    weakauras
    Lua Wall of Shame
    Originally Posted by Zarhym (Blue Tracker)
    this thread is a waste of internet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •