Quote:
Originally Posted by Budaworm
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?