mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Updated Scripting: chk (markdown)
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.
|
Loading…
x
Reference in New Issue
Block a user