WoW:API LoggingCombat: Difference between revisions

m
(Rewrote the page so it isn't a stub.)
Line 22: Line 22:
  end
  end


=== Example #2 ===
Create a new macro and paste the following (one-line)<br>
/script a=LoggingCombat(LoggingCombat()==nil); UIErrorsFrame:AddMessage("CombatLogging is now "..tostring(a and "ON" or "OFF"),1,0,0);
Drag the macro-button to an action bar or key bind it <br>and you have a one-click/keypress toggle.


== Details ==
== Details ==
: If no parameter is passed in, LoggingCombat turns logging on.
: If no parameter is passed in, LoggingCombat turns logging on.
Anonymous user