SRL Archive - Help and Support

How do I say doesn't equal?


Gravey

2006-04-28 19:43:34

Ok, for getcolor, would it be

If(getcolor(x,y)=/color)then or If(getcolor(x,y)=color)=false then

Or am I totally off?

driger1592

2006-04-28 19:47:41

If(GetColor(x,y)<>color)Then

Basically the same as saying if the color at x,y is greater than or less than color.

Hope this helps :D

Gravey

2006-04-28 19:49:46

It helps :D ty

Pwnd

2006-04-28 20:35:26

if(not(condition))then
also works :P

The Un-Named

2006-04-28 22:36:10

From: Pwnd
if(not(condition))then
also works :P


So dose if bla bla = false then . ;)

driger1592

2006-04-28 22:58:40

Well, essentially. However, I think that If(GetColor(x,y)=color=false)Then looks weird. It works, but it looks weird. I stopped using that method after I learned about the greater/less than thing. Much easier to look at ;)