Blockland Forums > Modification Help

Scripting Codes?

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

Gadgethm:

I think he pulled that from when people write events.

Bloxxed:

Seriously, if you're going to script, learn full english.

Let me give you a short lesson, every thing scripted in Blockland, starts with a Function
So...


--- Code: ---Function iamnothappy(arguments)
--- End code ---

The next part is the code starting(what ever it is) Open curly braces. So...


--- Code: ---Function iamnothappy(arguments)
{
--- End code ---

Then when you are finished with the script, close it with the closed brace.


--- Code: ---Function iamnothappy(arguments)
{
insertcodehere
}
--- End code ---


Kalphiter:

Function can't have a capitol F

otto-san:


--- Quote from: Bloxxed on June 23, 2011, 04:01:53 PM ---Let me give you a short lesson, every thing scripted in Blockland, starts with a Function

--- End quote ---
what

no

functions start with function

Red_Guy:

there is a good guide in this thread here:
http://forum.blockland.us/index.php?topic=146136.0

go read it

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

Go to full version