<when[IF script ]clicked>
<broadcast[ dead if script
<when I receive[ dead if script
<point towards( if script
<forever>
<move( 2 )steps>
<end>
<wait until><touching[ if script
<switch to costume[ punching if script
Last edited by Coolsey (2009-07-25 18:31:57)
Offline
Lol, the if statement is the most basic and essential statements in all of programing
Anyways, what you are looking for is this
<if> <( <{ score }> <=> <{ cpu score}> )>
<say[ you win ]
<end>
Offline
Coolsey wrote:
who are you and second the if script is broken so your wroung.
It isn't broken, if it doesn't work you've just made a mistake somewhere.
Try one of the scripts posted earlier, they both work.
Last edited by hmnwilson (2009-07-26 00:43:11)
Offline
do you have a forever?
Offline