home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 1 / MOBICLIC.ISO / mac / DATA / JEUX / TAB.dir / 00016_Script_16 < prev    next >
Text File  |  1997-02-20  |  860b  |  43 lines

  1. on exitframe
  2.   puppetsound 1,"J71.aif"
  3.   global sc,score1,score2,score3,score4,score5,hi
  4.   put value(field"score1") into score1
  5.   put value(field"score2") into score2
  6.   put value(field"score3") into score3
  7.   put value(field"score4") into score4
  8.   put value(field"score5") into score5
  9.   set hi=score1
  10.   
  11.   if sc>score1 then
  12.     go to "sc1"
  13.   else
  14.     
  15.     if sc>score2 then
  16.       go to "sc2"
  17.     else
  18.       if sc>score3 then
  19.         go to "sc3"
  20.       else
  21.         
  22.         if sc>score4 then
  23.           go to "sc4"
  24.         else
  25.           
  26.           if sc>score5 then
  27.             go to "sc5"
  28.           else
  29.             
  30.             go to 20
  31.           end if
  32.         end if
  33.       end if
  34.     end if
  35.   end if
  36.   
  37. end
  38.  
  39. on enterframe
  40.   set the colordepth to 8
  41.   set the keyDownScript to "if the key = RETURN then scripjuju"
  42. end
  43.