Waitq: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Created page with '{{ #vardefine:name|waitq}}{{ #vardefine:return_type|void}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggregate}}| return_t…'
(No difference)

Revision as of 18:21, 27 November 2010

needs(code_samples);

Function Syntax

void waitq(int secs )

  • secs is the number of seconds you want to delay further action.

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. This is the "quiet" version, which will not print a countdown on the gCLI during the delay.

CLI Equivalent

The CLI command "waitq" functions the same and can be used to pause basic .txt scripts.

See Also

wait()