Wait: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
Create page
 
imported>Grotfang
mNo edit summary
Line 14: Line 14:
return_also={{#var:return_also}}|
return_also={{#var:return_also}}|
parameter1={{Param|int|secs}}|
parameter1={{Param|int|secs}}|
p1desc={{pspan|secs is the number of seconds you want to count down from.
p1desc={{pspan|secs}} is the number of seconds you want to count down from.
}}|
}}|



Revision as of 14:49, 10 March 2010

needs(code_samples);

Function Syntax

void wait(int secs )

  • secs is the number of seconds you want to count down from.

This function will initiate a countdown from secs seconds to 0, during which time nothing else will be acted on. It essentially pauses a script.

CLI Equivalent

wait