Thread: Generic AI sets
View Single Post
  #19  
Old May 24th, 2002, 07:09 PM

Markavian Markavian is offline
Corporal
 
Join Date: Feb 2001
Location: Manchester, England.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Markavian is on a distinguished road
Default Re: Generic AI sets

Hey, Geoschmo, mind if I edit your JS General_AI creator to be a bit more user friendly, and look better?

Also, can I post 'a Version' of this on my website at some point the future? If you made this open source it'd make life easy for all.

You forgot to put ur e-mail address on the form, how am I gonna send you new ideas? Damnit, I'll have to post here instead.

javascript can't write files. yes, you need a server side application, cgi or PHP. very simple to make.

//I would like to make it be able to handle
//multiple popups at once, or at least rewrite
//the open popup, rather than forcing the user
//to close it first.

It already rewrites the opened popup tho...
If you want to make it open new popups then make teh name variable. currently you've called it 'popup'. make a variable, and increment it each time you click generate.

e.g. n = 1;
and at the top of the function: n++;
and then make the name a variable i.e. 'popup'+n;

- Markavian
Reply With Quote