i mean 1 equals sign and 2 equals signs?
More 1
i = math.random(1,100)	or	if command == 'k'
edited 1×, last 13.10.11 05:25:22 pm
Admin/mod comment
yeah just leave the most important part out of the topic even though there is enough space.. clever. "= and ==" added. /DC One = means you set something (i=100)
Two = means you ask for something to be the same (operators, like: >= <= ~= etc.)
Hope it explained you pretty easy. What's weird is that he gave examples. By doing so--shouldn't he already know? = sets a variable and == checks if a variable has the value you want
a=1
if (a==1)then Apache uwu has written
What's weird is that he gave examples. By doing so--shouldn't he already know?
not from my script, copy pasted
btw, sry DC i thought it wouldnt fit FlooD GAME BANNED Offline
the difference is that one has two equal signs and one has only one. lets explain it more better:
=(One)
Spoiler = is used for changing value..(ex: lol=10) but that valuename(lol) must exists. otherwise, it will cause error
==(Two)
Spoiler == is used for viewing value with
if. example:
Spoiler if lol==10 then code like this is are lol value is 10 or not
if lol<=10 then code like this is are lol value is 10 and less or not
if lol>=10 then code like this is are lol value is 10 and higher or not
if lol~=10 then code like this is are lol value is not 10 or else
yeh... thx guys iv gotit now
and, also, are
if (condition) then ...
and
if condition then ...
the same? DC Admin Offline
yes it is the same.
"if (((condition))) then" is the same as well. braces do never change a logical term when put around the whole term.