View Single Post
  #4  
Old 07-20-2007, 04:24 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Skyld View Post
PHP Code:
say2(randomstring(this.texts)); 
... would be faster for the new engine, but since we're talking the old engine here:

PHP Code:
if (created)
{
  
say2 #R(first string,second string,third string);

Oh right, the randomstring() command - kinda forgott about that one, I've yet to use it in a script.

And I didn't know you wanted it in GS1, buuuut since it's posted in "Old Scripting Engine" I should have payed slightly more attention

You could also do:

PHP Code:
if (created) {
  
setstring this.stringlist,first string,second string,third string;
  
say2 #R(#s(this.stringlist));

Whatever appeals you the most.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote