| Blockland Forums > Modification Help |
| Wallet's Scripting Class episode III: Revenge of the Script |
| << < (9/23) > >> |
| The Russian:
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. --- Quote from: Gadgethm on July 12, 2011, 12:49:03 AM ---Wait, what was the homework, it's not on the doc :c --- End quote --- 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. |
| Blockoverlord:
--- Quote from: Kalphiter on July 10, 2011, 10:56:59 PM --- --- End quote --- :cookieMonster: |
| Mr. Wallet:
--- Code: ---if(%variable == 5<10 && 4>1) --- End code --- 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. |
| Gadgethm:
Didn't make it to class this time guys :c Sowwy. |
| Blockoverlord:
--- Quote from: Gadgethm on July 13, 2011, 12:35:42 AM ---Didn't make it to class this time guys :c Sowwy. --- End quote --- ... WHAT! |
| Navigation |
| Message Index |
| Next page |
| Previous page |