WoW:API RequestTimePlayed: Difference between revisions

No edit summary
m (Move page script moved page API RequestTimePlayed to API RequestTimePlayed without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Prints a system message of two lines of data to the CHAT_DEFAULT_FRAME.
{{wowapi}}
line1: Total time played
Send a request to the server to get an update of the time played.
line2: Time played this level


Example:
The [[Events/Communication#TIME_PLAYED_MSG|TIME_PLAYED_MSG]] event will be fired when the answer has arrived.
 
/script RequestTimePlayed()

Latest revision as of 04:47, 15 August 2023

WoW API < RequestTimePlayed

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.