Thread: Random Rewards
View Single Post
  #2  
Old 10-06-2004, 07:33 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

You could probably try something along the lines of:
Code:
@items = (123, 456, 789);

srand();
quest::summonitem($items[rand() * @items]);
Reply With Quote