Begin script_nameif ( GetDisabled == 0 ) if ( GetJournalIndex journal_index < 10 ) Disable endifelseif ( GetDisabled == 1 ) if ( GetJournalIndex journal_index >= 10 ) Enable endifendifif ( GetJournalIndex journal_index < 10 ) returnendifEnd script_name