Author Topic: Wallet's Scripting Class episode III: Revenge of the Script  (Read 8367 times)



The other students are apparently more self-confident, because you're the only one sending me all homework.  :cookieMonster:

Where are you guys :c

The other students are apparently more self-confident, because you're the only one sending me all homework.  :cookieMonster:
:O  I thought we were supposed to :c

Ah well, I'll keep it up, cause the homework itself and the responses are funny :P

Only if you want feedback but it's not like I'm grading you.

Faces with Mr. Wallet.



MY HEADSET NO WORK

btw free script for people who can figure it out:
https://gist.github.com/1077345

find brick object number with editor, then in console
Code: [Select]
playMusic([brick#], [speed], [loop]);
speed is optional and higher numbers are slower, default is 480 I tihnk.
loop is option and if true will loop.

The thing will play colors 0-12 as notes starting at the given brick and going upwards.

Wait, what was the homework, it's not on the doc :c

Where can I get your email Mr. Teacher Person, I'd love to visit this class sometime. I'll even bring scratch paper and a straw! :3

Mr. Wallet's re-enactment of what happens when you try running a piece of code that only makes sense in English (such as: if(%variable == 5<10  && 4>1) was hilarious.

Wait, what was the homework, it's not on the doc :c
Basically from like day 2 or 3 it's just make something using what we learned. For day 3 I made a calculator that does addition, division, multiplication, subtraction all in one function using a / command. It had a lot of if statements, and we learned about ways to shorten if statements so I guess my homework is to shorten my script.
« Last Edit: July 12, 2011, 03:13:59 PM by The Russian »


Code: [Select]
if(%variable == 5<10  && 4>1)The above is sloppy code, but functions. It runs if (%variable == 1), since (5<10) evaluates as true (1). I did not give a functioning example in the doc.

Didn't make it to class this time guys :c  Sowwy.

Didn't make it to class this time guys :c  Sowwy.
... WHAT!