; $VER: mAGNUM cHAT INSTALL v1.10 (10-11-97) - Written By StoneCold
; Installer is Copyright ©1997 Gateway 2000/Amiga Inc.

(set @default-dest "DOORS:mAGNUMcHAT")

(welcome #welcometext)

(set #welcometext       "Welcome to the Installation Utility for\n\n")
(set #welcomedesc       "The Installation of the program is easy!\nIt Will Copy All The Files To The Right Places\n\nsTONEcOLD^nSa/vORTEx.")
(set #wrongversion      "Sorry, Your OS is too old!\n\nYou have to use a minimium of OS2.04 (v36).")
(set #copyinfotext      "This tool needs a complete MaxsBBS Installation.")
(set #nomaxsbbs         "MaxsBBS is not fully installed on this system!.")
(set #copyfileschat     "Copying mAGNUM-cHAT...")
(set #finishedtext      "All Done!, That was easy wasn't it!\n\nNow Read the Docs")
(set #freeware          "\n\nOh, Remember to call my BBS!!\n\n\n\n\nAmiga World BBS\n\no17o5 36129o 24hrz")

(message #welcomedesc)

(set #osversion (/ (getversion "exec.library" (resident)) 65536 ))
(if (< #osversion 36 )
  (exit #wrongversion (quiet))
)
(complete 0)

(if (not (exists "BBS:Doors/"))
(
  (abort #nomaxsbbs)
  )
)

(complete 20)
(makedir "BBS:Doors/mAGNUMcHAT")
(complete 40)


(message #copyfileschat)
(complete 60)
(copyfiles (source "RAM:mAGNUMcHAT/mAGNUMcHAT") (dest "BBS:Doors/mAGNUMcHAT"))
(copyfiles (source "RAM:mAGNUMcHAT/mAGNUMcHAT.cfg") (dest "BBS:Doors/mAGNUMcHAT"))
(complete 80)
(copyfiles (source "RAM:mAGNUMcHAT/tEMP.ans") (dest "BBS:Doors/mAGNUMcHAT"))
(copyfiles (source "RAM:mAGNUMcHAT/mAGNUM-cHAT.guide") (dest "BBS:Doors/mAGNUMcHAT"))


(message #finishedtext)
(complete 100)
(message #freeware)
(exit)






