diff --git a/Scripting:-chk.md b/Scripting:-chk.md index d4d952a..ad6b89e 100644 --- a/Scripting:-chk.md +++ b/Scripting:-chk.md @@ -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`). \ No newline at end of file +3. The `chk` command is often used in conjunction with the `if` command. See more about branching statements. \ No newline at end of file