Paul220043934@legacy41563653 (talk | contribs) No edit summary |
Paul220043934@legacy41563653 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
+ | <center>'''GetNetStats''' ''-Documentation by Myrrion (thanks Jooky)-''</center> |
||
− | Returns three statistics: down, up, lag<br> |
||
+ | |||
− | - lag is returned in milliseconds<br> |
||
+ | Retrieve info about net statistics. |
||
− | <br> |
||
+ | |||
− | Example Script:<br> |
||
− | + | down, up, lag = GetNetStats(); |
|
+ | |||
− | message("Lag: "..lag.." milliseconds.");<br> |
||
+ | ---- |
||
− | <br> |
||
+ | ;''Arguments'' |
||
− | Result: Message box with lag in milliseconds<br> |
||
+ | |||
− | <br> |
||
+ | :none |
||
− | -Myrrion<br> |
||
+ | |||
− | (thanks to Jooky) |
||
+ | ---- |
||
+ | ;''Returns'' |
||
+ | |||
+ | :(- down) |
||
+ | |||
+ | :;down : - |
||
+ | |||
+ | :(- up) |
||
+ | |||
+ | :;up : - |
||
+ | |||
+ | :(Number lag) |
||
+ | |||
+ | :;lag : The lag (in milliseconds) of your connection. |
||
+ | ---- |
||
+ | ;''Example'' |
||
+ | local down, up, lag = GetNetStats(); |
||
+ | |||
+ | ;''Result'' |
||
+ | |||
+ | For lag variable, retrieves the amount of lag in milliseconds. |
||
+ | |||
+ | ---- |
||
+ | ;''Description'' |
||
+ | |||
+ | : Retrieve information about your current net statistics. |
||
+ | |||
+ | ---- |
||
+ | {{Template:WoW API}} |
Revision as of 07:20, 4 March 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();
- Result
For lag variable, retrieves the amount of lag in milliseconds.
- Description
- Retrieve information about your current net statistics.
Template:WoW API