Difference between revisions of "LinesPerCycle"

From Wiki
Jump to: navigation, search
(See Also)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{command header|Obsolete}}
== linesPerCycle ==
+
'''Miscellaneous'''
+
=== Synopsis ===
+
[[linesPerCycle]] {linespercycle}
+
  
 +
{{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.
  
=== Description ===
+
Cheffe's description of lines per cycle, and cycles per second:
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.
  
''"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.
  
''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."
  
''EUO doesn't know the difference between a processing intensive task such as "finditem *" at WBB or a simple "set %x 3". While 10 liens 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." ''
 
  
''per this thread :  
+
Read here: <nowiki> http://www.easyuo.com/forum/viewtopic.php?p=21269 </nowiki>
www.easyuo.com/forum/viewtopic.php?p=21269&highlight=cycle+second#2126''
+
}}
 +
 
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
linespercycle 10
 
linespercycle 10
 
 
</pre>
 
</pre>
  
  
==== See Also ====
+
=See Also=
{|
+
{{Miscellaneous}}
| [[Var_lpc|&#0035;lpc]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Miscellanous|Miscellanous]]
+
|}
+

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