diff --git a/Using-FScript.md b/Using-FScript.md index c92bc72..2e809dc 100644 --- a/Using-FScript.md +++ b/Using-FScript.md @@ -22,32 +22,32 @@ command context { ### Commands -`FSCRIPT [version]` +`FSCRIPT [version]` Defines the version of FScript. This is for future backwards compatibility. -`FILE [context:relative-path]` +`FILE [context:relative-path]` Opens a file under the relative-path. In the case of Firestar, this is under the temporary deployment path. - `DELETE` - Deletes the file. +`DELETE` +Deletes the file. - `[XSTR|STR] [append|delete|replace] [find] ` - Finds, appends to, or replaces text in a file. `offset` determines the found index to start with, and `limit` determines the maximum to find. STR is case-sensitive while XSTR is not. +`[XSTR|STR] [append|delete|replace] [find] ` +Finds, appends to, or replaces text in a file. `offset` determines the found index to start with, and `limit` determines the maximum to find. STR is case-sensitive while XSTR is not. - `BINEDIT [offset] [byte]` - Edits the file binary. `offset` is the integer offset to start editing at. `byte` is the hexadecimal representation of your data. +`BINEDIT [offset] [byte]` +Edits the file binary. `offset` is the integer offset to start editing at. `byte` is the hexadecimal representation of your data. - `XML [create|delete] [context:selector]` - Creates or deletes an XML element in the file. See [XML Selector](#user-content-xml-selector) for selector help. +`XML [create|delete] [context:selector]` +Creates or deletes an XML element in the file. See [XML Selector](#user-content-xml-selector) for selector help. - `XML [modify] [context:selector] SET [value|attribute] [text1] ` - Modifies an attribute or inner text of an element. See [XML Selector](#user-content-xml-selector) for selector help. +`XML [modify] [context:selector] SET [value|attribute] [text1] ` +Modifies an attribute or inner text of an element. See [XML Selector](#user-content-xml-selector) for selector help. - `XML [merge] [file]` - Merges the data from another XML into the file. +`XML [merge] [file]` +Merges the data from another XML into the file. - `PATCH [file]` - Runs a unified patch on the file. +`PATCH [file]` +Runs a unified patch on the file. ### XML Selector The XML selector is a simple string separated by periods. The following document will be used as an example.