The script requests/brainstorming thread!
(16 Apr 11, 07:22AM)Mael Wrote:
a 2
b 3

alias swap [
               a (* $a $b);
               b (/ $a $b);
               a (/ $a $b)
]

This will not work if a and b are both negative numbers, but you're on the right track.

a 2
b 3

alias swap [
               a (+ $a $b);
               b (- $a $b);
               a (- $b $a)
]

Fixed :)

* VenteX wants to copulate more minds. Maybe he should get started on his long-planned CubeScript based map gen- you know what, I'll let that wait.
Thanks given by:


Messages In This Thread
RE: The script requests/brainstorming thread! - by VenteX - 17 Apr 11, 01:18AM