|
|
|
Online Scripting Reference
|
|
waitFor
|
Purpose
|
Pauses script execution, waiting for a certain string of text from the remote server before continuing.
|
|
Syntax
|
waitFor {value}
{value}: The value to wait for.
|
|
Notes
|
If a trigger activates while this command is active, the command is immediately forgotten.
There is no reason why this command should be used instead of a trigger, except for the fact that it is easier to manage.
|
|
Example
|
waitfor "(ENTER for none):"
send LoginName "*"
waitfor "Trade Wars 2002 Game Server"
send Game
waitfor "module now loading."
send "*t***" Password "*"
|
Return to item listing |
|
|