andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 11 Feb 2012 03:06 AM |
Hi, how do I make a script that says something like this:
Value = 10
if Value == (lesser than 5) then print'lesser' elseif Value == (bigger than 15) then print'bigger' end
Please help :) |
|
|
| Report Abuse |
|
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
|
| 11 Feb 2012 03:12 AM |
print("lesser") print("bigger") |
|
|
| Report Abuse |
|
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 11 Feb 2012 03:16 AM |
| I wanted to know how to get the script understand what's biggest / lowest (depending on the value) |
|
|
| Report Abuse |
|
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 11 Feb 2012 03:18 AM |
Hmm, wait, like this..
Value = 10
if Value == (lesser than 10) then print'lesser' elseif Value == (bigger than 10) then print'bigger' end
:) |
|
|
| Report Abuse |
|
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
|
| 11 Feb 2012 03:18 AM |
Value = 10 if Value < 5 then print("lesser") elseif Value > 15 then print("bigger") end |
|
|
| Report Abuse |
|
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
| |
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 11 Feb 2012 06:51 AM |
Have you gone to school? If you did why can't you realize that the '<' (greater than) and '<' (less than) symbols are availiable? Here's some other stuff
~= (Doesn't equal) ==(Used usualy in if statment to see if something is true , if 2 == 2 then) +(Plus, I'm sure you know that) -(Minus, Everybody knows that) |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2012 06:54 AM |
| @kools, you don't do > or < until yr 8 in directed numbers. for all we know this person could be in yr 6 |
|
|
| Report Abuse |
|
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 26 Feb 2012 08:04 AM |
| I hope you guys are talking about itunes89, because I'am very good at math. |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2012 08:27 AM |
less < bigger
equal less => bigger
less <= equal bigger
bigger > less |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2012 08:28 AM |
| Wide open 'mouth' is 'bigger than'. Vertex is 'smaller than'. |
|
|
| Report Abuse |
|
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 26 Feb 2012 08:33 AM |
| Lol, You didn't had to post that.. |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2012 08:38 AM |
"I hope you guys are talking about itunes89, because I'am very good at math."
Post some proof. |
|
|
| Report Abuse |
|
|
| |
|
andreas98
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 246 |
|
|
| 26 Feb 2012 08:53 AM |
Just don't post to this thread anymore.
Thanks. |
|
|
| Report Abuse |
|
|
noobkid
|
  |
| Joined: 17 Sep 2007 |
| Total Posts: 649 |
|
|
| 26 Feb 2012 09:10 AM |
@itunes, "print("lesser")"
You can call one argument functions without '()' too... |
|
|
| Report Abuse |
|
|