Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Infiltrates core systems so that NEXUS can absorb them. |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// perform all automatic infiltrations var success = NEXUS.infiltrate(); // perform manual infiltration var success = NEXUS.infiltrate(system[,infectdisconnect[,obj]]); |
Parameters
Parameter | Mandatory | Type | Notes | NEXUS Version |
---|---|---|---|---|
system | String | If specified, only the specified system will be infiltrated or disconnected based on the "connect" parameter. If not specified, all automatic infiltrations will be performed. | v0.1 | |
connect | Boolean | This parameter only takes effect if a "system" has been specified:
Defaults to true. Note that some systems cannot be disconnected once they have been infiltrated. | ||
obj | This parameter only takes effect if a "system" has been specified, and defines an optional object to pass to the .test() , .connect() or .disconnect() function associated with the system. |
Return value
Value | Type | Notes | NEXUS Version |
---|---|---|---|
true | Boolean | The system was successfully infiltrated. NEXUS will now automatically trigger tasks when the system accessed. | v0.1 and above |
false | Boolean | The infiltration or disconnection was unsuccessful. Possible causes:
| v0.1 and above |
null | Null | No disconnect function was found when trying to disconnect from a system. | v0.1 and above |
undefined | Undefined | The specified system definition was not found. | v0.1 and above |
<error> | Error | Is it a bird? Is it a plane? No, it's an Incoming. Laser. Satellite. Strike. | v0.1 and above |
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// perform all automatic infiltrations NEXUS.infiltrate(); // perform specific system infiltration NEXUS.infiltrate("whatever"); // disconnect from specific system NEXUS.infiltrate("whatever",false); |
See also
- Infiltrate Subroutines – ready made system definitions
Div | ||
---|---|---|
| ||
An Infiltrate Subroutine must be installed before you can use this function. |
Div | ||||
---|---|---|---|---|
| ||||
ContentsAssimilate:
|
Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
API BrowserObserve:
|