|
kevlar Beginner
Joined: 27 May 2005 Posts: 18
|
Posted: Wed Apr 26, 2006 6:04 am
newbie question |
ii'm wanting to have the value on a trigger have more than one option. i've never done any programming so i don't even know what that's called. example being:
if the patter was: bob walks in from the north
i would want the value to randomly choose from the following:
say hi to bob
or
nod to bob
or
shake hands with bob
or
kill bob
i'm sure this is really simple, but like i said... i just don't know where to start.
thanks in advance.
kevlar |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Wed Apr 26, 2006 8:05 am |
#TR {bob walks in from the north} {#CASE %random(1,4) {say hi to bob} {nod to bob} {shake hands with bob} {kill bob}}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|