View Single Post
  #16  
Old 06-26-2007, 05:22 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Quote:
Originally Posted by Budaworm View Post
The method above looks even more compact but you gotta write it as
Code:
    quest::say("$Phrases[int(rand($#Phrases+1))]");
}
to get it to work.
Just to prevent confusion, this is exactly what ChooseRandom was written to avoid... its just too ugly, and shouldent be nescesary.

Also, nothing changed about quests recently that I am aware of... maybe you upgraded perl versions?
Reply With Quote