Re: TIB: Double IF statement Question


[Prev][Next][Index][Thread]

Re: TIB: Double IF statement Question




Jump Off Productions Inc. wrote:
> 
> I was thinking about it because i was trying to make a slot machine type
> game heres what i was trying
> :rand thing->A
> :rand thing->B
> :rand thing->C
> :Disp A
> :Disp B
> :Disp C
> :If A=B and B=C
> :Disp "WIN"
> There, that might clear some stuff up for you, and if anyone is wondering
> this code is going to be used for the into game for a new web site that
> will be out soon called RPG ELITE, oh yeah and the game is headed by
> Frank(Swish 97)-more info on the web page later after the guy who is
> making it finishes(THAT MEANS YOU!!)j/k, he knows who he is, thanx so
> much-Jumper, oh yeah and the we have people for 82 and 85 for the web
> page, hopefully we will get an 83 and maybe a 92 soon.

If you're doing that code on the 83 ( I don't know if the other calc 
have this function) try this;
:rand thing->L1(1
:rand thing->L1(2
:rand thing->L1(3
:Disp L1(1,L1(2,L1(3
:If sum(/delta list/(L1))=0
:Disp "WIN"

Hmmm... Maybe that's not so good. Oh well, just another way.

Jody Snider
jody1@alasks.net


References: