API GetWintergraspWaitTime

Get the number of seconds until the next Wintergrasp battle.

seconds = GetWintergraspWaitTime

Returns

 * seconds : Integer - The number of seconds until the next Wintergrasp battle, or nil if currently in progress.

Details

 * As of patch 3.1, the function will occasionally return nil or a non-changing value when it should not. Current speculation is that this happens when you are not in Northrend or Wintergrasp is an undiscovered zone (ie, running the function as a level 1 bank alt)