単純にこれじゃだめなの
@iscript
if (a == 0) {
// 中止処理
} else {
// 処理
}
@endscript