(message ("You have reqtools v%ld.%ld\n" rtver rtrev)
"You need to install version 38.x+ of reqtools.library\n"
"inorder to use TrapPrefs")
)
( if (< muiver 8)
(message ("You have MUI v%ld.%ld" muiver muirev)
"You need to install version 8.x+ of MUI\n"
"in order to use TrapPrefs."
"This version of MUI can be found in the 2.1+ release\n")
)
(set locale
(askoptions
(prompt "Install which language?")
(help @askoptions-help)
(choices "English"
"Italiano" ;1
"Deutsch" ;2
"Français" ;3
)
(default 1)
)
)
(if (IN locale 1)
(copyfiles
(source "catalogs/Italiano/trapprefs.catalog")
(dest "Locale:Catalogs/Italiano")
)
)
(if (IN locale 2)
(copyfiles
(source "catalogs/Deutsch/trapprefs.catalog")
(dest "Locale:Catalogs/Deutsch")
)
)
(if (IN locale 3)
(copyfiles
(source "catalogs/français/trapprefs.catalog")
(dest "Locale:Catalogs/Français")
)
)
( if (= (exists "Mail:TrapDoor.cfg" (noreq)) 1)
(set cfg
(askbool
(prompt "You already have a configuration for TrapDoor\n"
"in your Mail: directory.\n"
"Do you want to TrapPrefs to automatically load\n"
"that config when it is run" )
(help "It's up to YOU.")
(choices "Yes" "No")
(default 1) ; 0 = no
)
)
)
(if (= cfg 1) ; conditional test
(tooltype
(dest "TrapPrefs")
(settooltype "CONFIG" "Mail:TrapDoor.cfg")
)
)
(set style
(askchoice
(prompt "Please choose the style to display the\nnon default options in the cycle gadgets\nIf your cycle gadgets have a white backgroup\nyou will not be able to see the options\nwith the default choice.")