← Back to all posts
##### this does not work
Emile2021coding

hi comunity
when i tried this code
i couldnt make multiple commands because the first one only works
can someone fix this
(password of the code(just to start if it works) : IKHO VANI DAKL)

Voters
Emile2021coding
hotnewtop
lajbel

you could instead of verifying the command, verify if the whole set has any command, this can be achieved for example separating each word in an array

Emile2021coding

@lajbel what do you mean with verify sorry but im bad at coding

lajbel

you can make this

```.css-o0gntx{position:absolute;left:-9999px;}.css-4kcfpn{-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border-width:0;border-style:solid;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;min-height:0;min-width:0;position:absolute;left:-9999px;}const commandArr = command.split(" "); // if the command is hi hello, the array is ["hi", "hello"]

if(command.includes("hi") {
// execute this
}

if(command.includes("hello") {
// execute this
}```
Emile2021coding

@lajbel THAT WORKER THATNK YOU SO MUCH

lajbel

@emiledebruycker np, you can mark me as the answer!

Emile2021coding

btw dont click the link its rickroll