Difference between revisions of "LinesPerCycle"
Panther.sn (Talk | contribs) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{command header|Obsolete}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | {{body|linesPerCycle {linespercycle}|The [[LinesPerCycle]] command sets the number of lines that the EasyUO parser runs through for every cycle. The default value is 10 and is reset when you stop the script. | ||
− | + | Cheffe's description of lines per cycle, and cycles per second: | |
− | + | ||
− | + | "EUO has 20 cycles per second and in each cycle it executes 10 lines (default). Some commands have built in waits so that the script speed slows down considerably. | |
− | ' | + | You can't say that one command is faster than the other. EUO gives away most of the available processing time so that the UO client can have it. |
− | + | EUO doesn't know the difference between a processing intensive task such as "finditem *" at WBB or a simple "set %x 3". While 10 lines per cycle is already too fast if you have 10 finditems in a row you could execute hundreds of set instructions in the same time without stressing the CPU." | |
− | |||
− | + | Read here: <nowiki> http://www.easyuo.com/forum/viewtopic.php?p=21269 </nowiki> | |
− | www.easyuo.com/forum/viewtopic.php?p=21269 | + | }} |
+ | |||
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
linespercycle 10 | linespercycle 10 | ||
− | |||
</pre> | </pre> | ||
− | + | =See Also= | |
− | { | + | {{Miscellaneous}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 12:22, 13 September 2007
Synopsis
linesPerCycle {linespercycle}
Description
The LinesPerCycle command sets the number of lines that the EasyUO parser runs through for every cycle. The default value is 10 and is reset when you stop the script.
Cheffe's description of lines per cycle, and cycles per second:
"EUO has 20 cycles per second and in each cycle it executes 10 lines (default). Some commands have built in waits so that the script speed slows down considerably.
You can't say that one command is faster than the other. EUO gives away most of the available processing time so that the UO client can have it.
EUO doesn't know the difference between a processing intensive task such as "finditem *" at WBB or a simple "set %x 3". While 10 lines per cycle is already too fast if you have 10 finditems in a row you could execute hundreds of set instructions in the same time without stressing the CPU."
Read here: http://www.easyuo.com/forum/viewtopic.php?p=21269
Example
linespercycle 10
See Also
Miscellaneous
- Miscellaneous commands
display | Shows a message |
execute | Executes an external program |
linesPerCycle | Sets the execution speed |
set | sets a variable to a value (variable assignment) |
send | Sends a HTTP request to a server and runs the code that is returned |
shutDown | Shuts your computer down |
sound | Plays a wave file or the SystemDefault beep |
str | performs a operation on a string |
tile | retrieves information about tiles |