Updated Scripting: chk (markdown)

TurdPooCharger 2018-04-29 00:08:38 -04:00
parent 4c2cea141b
commit 6789d138fc

@ -8,9 +8,16 @@ The `chk` command is used to check two values against each other (this is not ca
Example:
`chk $[HAX] ntrboot`
**Example 1**
True: `chk hello hello`
True: `chk "hello" "hello"`
True: `chk HELLO hello`
True: `chk HeLlO "hElLo"`
## Notes
The two arguments follow the same [implicit vs explicit argument rules](https://github.com/d0k3/GodMode9/wiki/Scripting:--echo#implicit-vs-explicit-statements) as all other scripts.
1. The two arguments follow the same [implicit vs explicit argument rules](https://github.com/d0k3/GodMode9/wiki/Scripting:--echo#implicit-vs-explicit-statements) as all other scripts.
2. The two arguments can be many things, but the main use is variables. For example, checking if a variable matches another variable, or a certain string (i.e. `1:/import`, `a9lh`, `0`).
The two arguments can be many things, but the main use is variables. For example, checking if a variable matches another variable, or a certain string (i.e. `1:/import`, `a9lh`, `0`).
3. The `chk` command is often used in conjunction with the `if` command. See more about branching statements.