エンドオブテキストであれば
endōbutekisutodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of エンドオブテキスト

1. If the end of text; When the end of text

Ba Conditional
Computing