digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 04:34 PM |
so i heard that you guys were being taught scripting by arke?
ye
lemme make it easier for you:
boolean: either `true` or `false`
number: 0, 1, 0.1, 0.2 etc
string: "Hello, world!" - anything which stores words. 'hello' and [[hello]] also work
comment: lua doesnt run this. `--omg this is a comment` and `--[[uwot]]` are comments
logic: ever played with redstone? think of that but with words. `not`, `and`, `or` - try thinking through and you'll understand.
function: useful code which you can all repeatedly. example: `function a() print(1, 2, 3) end` to define, and `a() a() a()` to call
loops: run code multiple times. there's lots of these. `for` loops are the most complicated. `while` loops are the easiest; you put a boolean in them and they run while the boolean is true. `repeat` loops are like while loops, but they do it until the value is false.
tell me if you learned more from that than you did from the arke tutorial. i bet you did. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Z2A
|
  |
| Joined: 21 Jun 2012 |
| Total Posts: 120 |
|
|
| 11 Jul 2014 04:36 PM |
| wat, instructions were unclear, got stuck in washer machines... |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 04:36 PM |
| arke's tutorial started from very basics, and i learned more there than here imo |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 04:37 PM |
ye
tell me wat u need
i tell k? |
|
|
| Report Abuse |
|
|
| |
|
ColdSmoke
|
  |
| Joined: 02 Jan 2012 |
| Total Posts: 5784 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
Regnant
|
  |
| Joined: 22 Dec 2013 |
| Total Posts: 1946 |
|
|
| 11 Jul 2014 04:40 PM |
I learned all this from the Wiki.
[!powered by Schmooze] |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 04:41 PM |
congratulations
you're the first person from c7g i've met who can script |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2014 04:41 PM |
| BUT DIGPOE? ? ?? ? ? What does it mean to call a function!>!> |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 04:42 PM |
| it makes it do what you told it do |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 04:46 PM |
bump
someone ask me if they need more help
k |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 11 Jul 2014 04:48 PM |
| for loops are the easiest noob |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 11 Jul 2014 04:54 PM |
also i'm confused?!?!? do I have to write function() 3 times to call it?!?!!?!?!?!?! can you plz explain it to me sir |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 11 Jul 2014 04:57 PM |
Hey dig
Want to join in on an episode as a guest? ;o |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 11 Jul 2014 05:08 PM |
ye
without a mic
would be fun.
:p |
|
|
| Report Abuse |
|
|