I've done a patch for 3.71,3.72 that adds two functions to the javascript syntax menu so you can just drop in two new functions

they are

randomrange(min,max)

and moveto(x,y,element_handle)

I find I usually want a random number in a range of numbers.

You can also insert the call to these functions from the menu as well.

To install you unzip the files into your 3dfa interface/ directory. the zip is setup to do this if you just unzip to the drive you have 3dfa installed on if you installed into the default directory when you installed 3dfa v3.72. It will overwrite three files.

Use at your own risk (I use it)

you can get it at
http://deadyeti.com/files/files.php?func=fileinfo&id=21

If anyone has a usefull javascript function they've come up with I'd be happy to add it to the menu as well.
[Edited by blanius on 09-07-2002 at 12:10 PM]