It's not that great, but it's a start. After that, hmm, scan existing code on the MOO you've got a progger bit on (@list <object>:<verb>) (@verbs <object>) to get a list of verbs on any given object. The easiest way to learn is to get down and dirty with the code. You might want to take a look at the MOO duck link on the above page. It royally sucks ass in terms of what you end up coding, but the output isn't really the point, the chance to utilize and learn the code is what it's about…
What MOO you a progger on, anyhow?
on jumpup
x=var
x=0
y=var
y=0
--It has been a while since I scripted: this is a test...
if x>y then
jumpup
else
if x=y then
playerdeath
end if
if x<y then
playerfall
end if
end if
end jumpup
--
I dunno. Thats just a pile of nested if thens. More too it. I hear it helps to know C++
say....what do you use to write C++? As in what language did the makers of the C++ programming language useto make the C++ programming language itself? Binary?!
poop. umm. err....
Luc, just wait till you get lost in a semi complex set of if/thens. I suggest you, for a first project, try to code yahtzee. For two players. With gamboling/betting/money. It will be a lovely exercise in the basics of programmer logic.
The first thing done with C was to write the C compiler in C (it was first written in B obviously).
B was based on BCPL which was developed in the mid 60s at MIT. B was the first system programming language for UNIX, back before it was even called UNIX.