Welcome to the Creatures Wiki! Log in and join the community.

Editing JECT

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:
 
Syntax: ''JECT file (string) flags (int)''
 
Syntax: ''JECT file (string) flags (int)''
  
Injects ''file'' from any [[bootstrap]] directory. The case of ''file'' doesn't matter. ''file'' must include the extension.
+
Injects ''file'' from any bootstrap directory. The case of ''file'' doesn't matter. ''file'' must include the extension.
  
 
''flags'' is a sum of the following:
 
''flags'' is a sum of the following:
*'''1''' - [[remove script]]
+
*'''1''' - remove script
*'''2''' - [[event script]]s
+
*'''2''' - event scripts
*'''4''' - [[install script]]
+
*'''4''' - install script
  
 
Things are done in that order, so JECT ... 7 removes all present scripts, then installs them, then installs the agent. This effectively allows the agent to be refreshed from disk.
 
Things are done in that order, so JECT ... 7 removes all present scripts, then installs them, then installs the agent. This effectively allows the agent to be refreshed from disk.
  
Output from remove and install scripts is sent to the current [[output stream]], along with any errors.
+
Output from remove and install scripts is sent to the current output stream, along with any errors.
  
 
==Examples==
 
==Examples==
Line 34: Line 34:
 
*[[.cos]]
 
*[[.cos]]
 
*[[SCRP]]..[[ENDM]] (event script marker)
 
*[[SCRP]]..[[ENDM]] (event script marker)
*[[RSCR]] (remove script marker)
+
*[[RSCR]] (install script marker)
  
 
[[Category:DS CAOS Commands]]
 
[[Category:DS CAOS Commands]]

All contributions to Creatures Wiki are considered to be released under the CC-BY-SA and GFDL (see Creatures Wiki:Copyrights for details).

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)