home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Games / Oldies / Haktar / MyRoom / light switchlanding < prev    next >
Encoding:
Text File  |  1999-12-03  |  549 b   |  30 lines

  1. ifflag light landing
  2.  [
  3.   do switch off
  4.    [
  5.     delflag light landing
  6.     print You switch off the light.
  7.     iftime 300,1000
  8.      [
  9.       print The street lights barely illuminate the stairs.
  10.      |
  11.       print Very wise ! The sun is shining in.
  12.      ]
  13.    ]
  14.  |
  15.   do switch on
  16.    [
  17.     setflag light landing
  18.     print You switch on the light.
  19.     iftime 300,1000
  20.      [
  21.       print The twilight is put to flight.
  22.      |
  23.       print The sun is shining.
  24.       print ...
  25.       print That could somehow explain why you feel so foolish.
  26.      ]
  27.    ]
  28.  ]
  29.  
  30.