home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_2.iso
/
files
/
676.lha
/
MultiBox
/
Examples
/
Example1
next >
Wrap
Text File
|
1992-06-26
|
907b
|
28 lines
failat 65537 ; this should be set high enough - for more read the docs
/multibox HAIL MultiBoxRequest! TITLE "What config do you have?" BOXES 2nd floppy drive_|Ram expansion_|HardDrive|Turboboard|etc
set result $RC ; save the return code
echo "*NYou say that you are using an Amiga with:*N"
if $result EQ 0 ; Nothing seleced or Cancel clicked
echo "NOTHING! - poor Amiganier"
endif
if 1 EQ `eval $result & 1` ; for the usage of the backstrick you should read the Amiga OS2.0 manuals
echo " - second floppy drive" ; test every bit
endif ; you should make eval resident if you often use such scripts!
if 2 EQ `eval $result & 2`
echo " - more ram"
endif
if 4 EQ `eval $result & 4`
echo " - harddisc"
endif
if 8 EQ `eval $result & 8`
echo " - turboboard"
endif
if 16 EQ `eval $result & 16`
echo " - some funny equipment!"
endif
echo "READY.*N"