home *** CD-ROM | disk | FTP | other *** search
/ Rooie Oortjes 2 / RO2_CD.bin / intro.dxr / 00012.ls < prev    next >
Encoding:
Text File  |  1997-04-15  |  647 b   |  36 lines

  1. on exitFrame
  2.   cursor(200)
  3.   SetCastLanguage()
  4.   set the mouseDownScript to "go marker(1)"
  5. end
  6.  
  7. on enterFrame
  8.   openXLib("xsecure")
  9.   set obj to xsecure(mnew)
  10.   set str to obj(msecure)
  11.   set secure to 1
  12.   if char 1 of str <> "r" then
  13.     set secure to 0
  14.   end if
  15.   if char 2 of str <> "o" then
  16.     set secure to 0
  17.   end if
  18.   if char 3 of str <> "2" then
  19.     set secure to 0
  20.   end if
  21.   if char 4 of str <> "_" then
  22.     set secure to 0
  23.   end if
  24.   if char 5 of str <> "c" then
  25.     set secure to 0
  26.   end if
  27.   if char 6 of str <> "d" then
  28.     set secure to 0
  29.   end if
  30.   obj(mdispose)
  31.   closeXLib("xsecure")
  32.   if not secure then
  33.     quit()
  34.   end if
  35. end
  36.