home *** CD-ROM | disk | FTP | other *** search
/ 321 GAMES / 321GAMES.iso / logic / runes / runes.exe / runes.DXR / 00162.ls < prev    next >
Encoding:
Text File  |  1996-07-01  |  624 b   |  32 lines

  1. on OPTBUT
  2.   global SOND, TSOND
  3.   dontPassEvent()
  4.   if (the key = "b") or (the key = "B") then
  5.     go("OPTIONS1")
  6.   end if
  7.   if (the key = "S") or (the key = "s") then
  8.     go("SOLEAU")
  9.   end if
  10.   if (the key = "R") or (the key = "r") then
  11.     go("REGIST")
  12.   end if
  13.   if (the key = "O") or (the key = "o") then
  14.     go("OTHERGMS")
  15.   end if
  16.   if (the key = "T") or (the key = "t") then
  17.     if SOND = 1 then
  18.       set TSOND to 0
  19.     end if
  20.     if SOND = 0 then
  21.       set TSOND to 1
  22.     end if
  23.     set SOND to TSOND
  24.     if SOND = 1 then
  25.       go("SNDOFF")
  26.     end if
  27.     if SOND = 0 then
  28.       go("SNDON")
  29.     end if
  30.   end if
  31. end
  32.