generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Lesser or bigger than?

Previous Thread :: Next Thread 
andreas98 is not online. 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 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
11 Feb 2012 03:12 AM
print("lesser")
print("bigger")
Report Abuse
andreas98 is not online. 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 is not online. 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 is not online. 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 is not online. andreas98
Joined: 10 Sep 2008
Total Posts: 246
11 Feb 2012 03:20 AM
Thank you :)
Report Abuse
kools is not online. 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
blueymaddog is not online. blueymaddog
Joined: 23 Sep 2009
Total Posts: 5459
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 is not online. 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
LightedRoblox is not online. LightedRoblox
Joined: 16 Apr 2010
Total Posts: 6235
26 Feb 2012 08:27 AM
less < bigger

equal less => bigger

less <= equal bigger

bigger > less
Report Abuse
LightedRoblox is not online. LightedRoblox
Joined: 16 Apr 2010
Total Posts: 6235
26 Feb 2012 08:28 AM
Wide open 'mouth' is 'bigger than'. Vertex is 'smaller than'.
Report Abuse
andreas98 is not online. andreas98
Joined: 10 Sep 2008
Total Posts: 246
26 Feb 2012 08:33 AM
Lol, You didn't had to post that..
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
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
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
26 Feb 2012 08:46 AM
[ Content Deleted ]
Report Abuse
andreas98 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image