Discuss Scratch

KoolKid228
Scratcher
33 posts

possible way to get !=

For context, in most programming languages, this symbol: !=

means “not equal to”

is there a way to get this? because using a not operator doesn't work right for what i need it for.
BigNate469
Scratcher
1000+ posts

possible way to get !=

Can't you just do
<not <[] = []>>
Which does the same exact thing?
KoolKid228
Scratcher
33 posts

possible way to get !=

as I said, doing that is not helping in my case.
PaxtonPenguin
Scratcher
100+ posts

possible way to get !=

KoolKid228 wrote:

as I said, doing that is not helping in my case.
So then what is your use case?
BigNate469
Scratcher
1000+ posts

possible way to get !=

PaxtonPenguin wrote:

KoolKid228 wrote:

as I said, doing that is not helping in my case.
So then what is your use case?
And furthermore, why does
<not <[] = []>>
not work?
KoolKid228
Scratcher
33 posts

possible way to get !=

im trying to make it can detect if the button you press isnt the one it's checking for, and using that just makes the script constantly fire off
BigNate469
Scratcher
1000+ posts

possible way to get !=

KoolKid228 wrote:

im trying to make it can detect if the button you press isnt the one it's checking for, and using that just makes the script constantly fire off
Then why not just use
if <[button] = [the one it's looking for]> then
else
your code here ::grey
end
Also, what's your script, exactly? Not equal to should work in this situation, so it's possible that the way you're doing this is inherently flawed and needs to be changed.

Powered by DjangoBB