timeout: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
''For console command, see [[timeouts.txt]].''
''For console command, see [[timeouts.txt]].''


 
==[[:Category:Self Condition|Self Conditions]]==
''[[:Category:Self Condition|Self Conditions]]:''


; timeout [<seconds>]
; timeout [<seconds>]
Line 8: Line 7:




''Target [[:Category:Monster Condition|Monster]] and [[:Category:Player Condition|Player]] Conditions:''
==Target [[:Category:Monster Condition|Monster]] and [[:Category:Player Condition|Player]] Conditions==


; target_timeout [<seconds>]
; target_timeout [<seconds>]
: If this option is set, Kore will wait for this number of seconds before using this skill on a monster/player again. This is different from '''timeout''' because the time is stored for each monster/player.
: If this option is set, Kore will wait for this number of seconds before using this skill on a monster/player again. This is different from '''timeout''' because the time is stored for each monster/player.


== Examples ==
'''Example'''
: Use Gift Box every 5 seconds.


  useSelf_item Gift Box {
  useSelf_item Gift Box {
Line 19: Line 19:
  }
  }


: Use Gift Box every 5 seconds.
 
==Console Command==
;timeout (<timeout key>) [<seconds>]
 
:<timeout key>
::- a timeout key name from timeouts.txt.
 
:<seconds>
::- the time in seconds.
 
:Set a timeout.
{| class="wikitable" border="1" cellspacing="0"
|-style=background-color:#F9F9F9;
!Command
!Description
|-
|align=center|timeout <timeout key>
|Display the current value of specified key name.
|-
|align=center|timeout <timeout key> <seconds>
|Set a new value for the specified key name.  
|}


[[Category:Self Condition]]
[[Category:Self Condition]]
[[Category:Console Command]]
[[Category:Console Command]]

Revision as of 14:56, 10 May 2010

For console command, see timeouts.txt.

Self Conditions

timeout [<seconds>]
If this option is set, wait for the specified number of seconds before using the block again.


Target Monster and Player Conditions

target_timeout [<seconds>]
If this option is set, Kore will wait for this number of seconds before using this skill on a monster/player again. This is different from timeout because the time is stored for each monster/player.

Example

Use Gift Box every 5 seconds.
useSelf_item Gift Box {
	timeout 5
}


Console Command

timeout (<timeout key>) [<seconds>]
<timeout key>
- a timeout key name from timeouts.txt.
<seconds>
- the time in seconds.
Set a timeout.
Command Description
timeout <timeout key> Display the current value of specified key name.
timeout <timeout key> <seconds> Set a new value for the specified key name.