WoW:API RequestTimePlayed: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
Returns a system message of two lines of data.
Prints a system message of two lines of data to the CHAT_DEFAULT_FRAME.
line1: Total time played
line1: Total time played
line2: Time played this level
line2: Time played this level
Line 5: Line 5:
Example:
Example:


/script CHAT_DEFAULT_FRAME:AddMessage(RequestTimePlayed(),1,1,1);
/script RequestTimePlayed()

Revision as of 02:07, 2 November 2005

Prints a system message of two lines of data to the CHAT_DEFAULT_FRAME. line1: Total time played line2: Time played this level

Example:

/script RequestTimePlayed()