WoW:API GetNetStats: Difference between revisions
Jump to navigation
Jump to search
GetNetStats -Documentation by Myrrion (thanks Jooky)-
No edit summary |
mNo edit summary |
||
Line 40: | Line 40: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|GetNetStats]] | |||
[[Category:API Core Functions|GetNetStats]] |
Revision as of 14:41, 27 August 2005
Retrieve info about net statistics.
down, up, lag = GetNetStats();
- Arguments
- none
- Returns
- (- down)
- down
- -
- (- up)
- up
- -
- (Number lag)
- lag
- The lag (in milliseconds) of your connection.
- Example
local down, up, lag = GetNetStats();
message("Lag: "..lag.." milliseconds.");
- Result
Message box appears with amount of lag in milliseconds.
- Description
- Retrieve information about your current net statistics.