|
| 21 Feb 2012 06:55 PM |
Okay, I know how to do: if x.Transparency == 0.5 then
but if I want to check if something ISN'T true, would it be !=, like in javascript? |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 06:57 PM |
Its not !=, its ~=
`*\~-{ Are we there yet T.T? }-~/*` |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 06:57 PM |
| to do a Not True statement, you do ~= [symbolizing the slash on the equals sign in math] |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 06:58 PM |
Similar. I was just thinking it was !=, because javascript is REALLY similar to lua. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 07:00 PM |
| All scripting languages are similar. Just like all programming languages are similar. Just like Programming languages and scripting languages are similar. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 07:01 PM |
@Metroid Take CSS, HTML, and lua How are those similar...? |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 07:20 PM |
You can use ~=, or the "not" operator.
if not x.Transparency == 0.5 then
It's similar to the JavaScript !:
if !(x.Transparency == 0.5) {} |
|
|
| Report Abuse |
|
|
XNoBoomX
|
  |
| Joined: 08 May 2011 |
| Total Posts: 4731 |
|
|
| 21 Feb 2012 07:21 PM |
HTML = Markup Language.
It's more considering coding on average. It seems that web-based "scripting" or "programming" is really more slang-termed as "coding".
Just to let you know.
~Fo Dah' Wimminz!~ |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2012 07:24 PM |
Thank you NoBoom for clarifying that to people
~Join Enigma Scripting School for Lessons ^.^ ~ |
|
|
| Report Abuse |
|
|