Some freaky scripting has been done with the DP console before, like loops, if-elses...
I've set up some small x86-instruction-like "api", and created an AOP (alias-oriented programming language

And well, see for yourself what the 2.4 console can do:
http://stud4.tuwien.ac.at/~e0725517/nexuiz/bball.avi
When working on that, I even manged to find some bugs in the console, which of course can be avoided, and are already fixed in SVN =)
Sadly, while that ball is bouncing, you cannot do much, so I decided to enhance the console a bit, with just a single new command:
- Code: Select all
defer <delay in seconds> <command>
No, this command does not exist either in 2.4 or in SVN, but who knows, maybe it gets in?
It DOES have some good uses, like
- Code: Select all
defer 100 "play2 misc/armor2.wav; echo ^1QUAD IN 20 SECONDS!!!"
And beside that, here's what I did with it:
http://stud4.tuwien.ac.at/~e0725517/nexuiz/pong.avi
(NOTE: I play that bad on PURPOSE so you actually see that you can score too

This is an example of what one can actually do with only a few resources. One can build on them.
Sources are available here:
http://stud4.tuwien.ac.at/~e0725517/nexuiz/x86/
(note: For 2.4 you need to remove the floor/ceil rpn calls, and you cannot use the push and pop functions, they're not used in pong/bball either)