The function command is used to call an external function previously initialized.
"then(function, function index, argument1, argument2, argument3 ,argument4)"
Argument |
Function |
function index |
The index in which the external function is being stored under, used in other scripts. |
argument1 |
The first argument to be sent to the external function. (Only used if necessary.) |
argument2 |
The second argument to be sent to the external function. (Only used if necessary.) |
argument3 |
The third argument to be sent to the external function. (Only used if necessary.) |
argument4 |
The fourth argument to be sent to the external function. (Only used if necessary.) |
And example of the function command used in a script is as follows...
The following script loads a web page through an external function.
if(interact)
{
then(function,loadpage,"http://cashoutgame.com/")
then(destroy)
}
|
|