|
dvgalius2002@yahoo.com Beginner
Joined: 01 Aug 2006 Posts: 21
|
Posted: Wed May 23, 2007 6:48 am
trying to figure out how random works |
I have a var with different options trying to get random working
#var {one.wav|two.wav|three.wav|four.wav|five.wav}
Now I have a trigger which is suppose to go off and play any of the five wavs.
#trigger {You win the Jackpot} {Just not sure what to put here to get it to play a random one, I know #play one.wav would play one.wav}
Any help would be appreciated. |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: Wed May 23, 2007 7:54 am |
#var wavs {one.wav|two.wav|three.wav|four.wav|five.wav}
then
#TRIGGER {You win the Jackpot} {#play %item( @wavs, %random( 1, 5))} |
|
_________________ -Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style." |
|
|
|
dvgalius2002@yahoo.com Beginner
Joined: 01 Aug 2006 Posts: 21
|
Posted: Wed May 23, 2007 8:23 am |
works great thanks
|
|
|
|
|
|