How to exit AS?

Hi,
How do I exit a script in case a condition is f.ex. true ?
Let’s say I have following script:

on (release) {

if (!psw2_fla) {
inf= “Insert password !” ;
// HERE I WANT TO EXIT SINCE MY MESSAGE WILL NOT BE SHOWN…
//IT WILL BE OVERWRITTEN DUE TO THE CONDITION BELOW !
// THAT IS IT WILL SAY: Wrong password !
}

if (psw2_fla == “hello”) {
inf= “Welcome” ;

} else {
inf= “Wrong password !” ;
}

}