You might want to look at the use of SELECT CASE ENDSELECT, e.g.
code:
select
case $passwordage=$passwordnotice1
$rc=MessageBox($passwordtitle,'Your password will expire in 10 days.',64)
case $passwordage=$passwordnotice2
case $passwordage=$passwordnotice3
case $passwordage=$passwordnotice4
endselect

_________________________
There are two types of vessels, submarines and targets.