1. How can I get proper message about duration of my spell?

    I've tried: Lua code:

      local button = CreateFrame("Button", "MyCastButton", handler, "SecureActionButtonTemplate")
      local start, duration, enabled = GetSpellCooldown("Battle shout");
      SecureHandlerWrapScript(button, "OnClick", handler,  
      [[message("Duration to next Battle shout is " ..duration.. " sec")]]

    My macro: /click MyCastButton

    Not working please help! I'm new in Lua.

    You'd probably need to use PostClick, as the spell won't yet be triggered in the OnClick (I think).