Blockland Forums > Modification Help

Variable Events

Pages: << < (2/4) > >>

::Matt:::

You obviously don't know what the script is for. I even said it's something I just threw together so people knew what I was aiming for if they somehow didn't understand the bluntly obvious description of what I want, which apparently flew over your head.

Desolation:

Use these in basic integer comparison syntax.

A single "=" is for setting a variable specifically to an integer or string.


--- Code: --->=
<=
==

--- End code ---


Nexus:


--- Quote from: ::Matt:: on May 15, 2011, 12:39:00 AM ---You obviously don't know what the script is for.
--- End quote ---

Good.  You read exactly what I wrote.


--- Quote from: ::Matt:: on May 15, 2011, 12:39:00 AM ---I even said it's something I just threw together so people knew what I was aiming for if they somehow didn't understand the bluntly obvious description of what I want, which apparently flew over your head.

--- End quote ---

Moron, this is your entire description:


--- Quote from: ::Matt:: on May 14, 2011, 02:55:01 PM ---I'm trying to figure out how to make events similar to VCE, but the variable is already set and cannot be altered.

What I want it to be, is

OnTrigger<Client<IfMoney<___
ifMoneyValid<___<___
ifMoneyInvalid<___<___

-snip90%stolen10%brokencode-

--- End quote ---

Just reading that, it looks like you are testing whether or not the person has valid money, but that doesnt match up with any of the code you posted.

There is no "obvious description" there.  If you want help, be more clear about what you want to accomplish.  Otherwise, the only thing people can help you on is basic syntax.

otto-san:

::Matt::, you appear to not know what you're doing.

Elses are not inside of the if.

You did the input events wrong.

If statements don't have semicolons.

hope i helped c:

Greek2me:

Alright, read the topics in this board, starting with "(Lesson 1) Variables" and "(Lesson 3) Conditional Statements".
http://scatteredspace.com/forum/index.php?board=16.0

For further reading, go here. I'd recommend reading "Introduction to Syntax" and "Operators and Variables" first.
http://forum.blockland.us/index.php?topic=146136.0

Pages: << < (2/4) > >>

Go to full version