Blockland Forums > General Discussion
Return of the Mr. Wallet's Blockland Scripting Class
<< < (22/41) > >>
Mr. Wallet:
Thanks for sharing your notes Heedical, I don't have any because I'm kinda winging it using the syllabus and half-remembered things from last year.  :cookieMonster:

I should clarify that I was trying to stress that while using the console is not usually considered scripting, it basically is. Anything you put in the console is essentially a one-line script; if you know how to do anything in the console, you can put the same thing in a script file and it works.
Quintano Man:
Are you using the same Google docs thing as last time? Because I'm already in that one. Will I need to give you my email address again?
Mr. Wallet:
The old docs are being preserved for posterity and to prevent bad things from ruining them forever; copies have been made for the new class, so you'll need the new docs to follow any edits I might make from last year.
TomTheGeek:

--- Quote from: heedicalking on June 27, 2010, 08:26:31 AM ---What we learned in a nutshell:
Open console by pressing ~
Type in echo("Hello World");

He said that even typing one command into the console is considered scripting

We made a folder in our add-ons folder called Class_work, it doesn't matter the name though except it should have a _ in it.

We opened up Crimson Editor, notepad (any editor of your choice) and typed in
echo("Hello World"); then saved it as echo.cs and saved it in Class_work

Then we typed exec("add-ons/Class_Work/echo.cs"); to get the script to work.

You should also give him you email address so you can use the google docs he made.



--- End quote ---

Thanks for this. Without it I would be pondering in tonight's class.
Quintano Man:

--- Quote from: Mr. Wallet on June 27, 2010, 05:38:42 PM ---The old docs are being preserved for posterity and to prevent bad things from ruining them forever; copies have been made for the new class, so you'll need the new docs to follow any edits I might make from last year.

--- End quote ---
Ok. Do you want me to pm you my email address or wait until class?
Navigation
Message Index
Next page
Previous page

Go to full version