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:
Prints a system message of two lines of data to the CHAT_DEFAULT_FRAME.
Send a request to the server to get an update of the time played.
line1: Total time played
line2: Time played this level


Example:
The [[Events_T_%28Tabard%2C_Taximap%2C_Time%2C_Tooltip%2C_Trade%2C_Trainer%2C_Tutorial%29#TIME_PLAYED_MSG|TIME_PLAYED_MSG]] event will be fired when the answer has arrived.
 
/script RequestTimePlayed()

Revision as of 12:02, 10 November 2005

Send a request to the server to get an update of the time played.

The TIME_PLAYED_MSG event will be fired when the answer has arrived.