Any explanation of what this means/does to the sentence? I see it usually at the end of a verb in te form. I came across it as 空けておかなきゃ. The only reference I have found is some Ranma lyrics: Moraeru mon' wa moratte okanakya. I gotta receive what I can receive. Not that it really helps me...
Wait, is it perhaps Oku, "got to/must do/have to"? but is just in some casual/slang form? If so, what is the negative "okanakya" form? Is there a difference between nakya and nakyanaranai? Is one the negative?
おかなきゃ is the contraction of おかなければ, as already explained, but the verb おく or おかなきゃ itself doesn't have such a meaning. "-Te form of verb + おかなきゃ(ならない/いけない)" can mean "must/have (got) to
do in advance."
With the verbs :
おく oku: It means "to do in advance". お弁当を作っておいた obentō o tsukutte oita: "I've made a boxed lunch (for later)". Colloquially, in this form the "e" often disappears, so 作っておいた tsukutte oita becomes 作っといた tsukuttoita.
Japanese verb conjugation - Wikipedia
空ける; plain
空けておく; -te form of 空ける + おく
空けておかない; negative of 空けておく
空けておかなければ; -ba conditional of 空けておかない
空けておかなきゃ/空けとかなきゃ; the contraction of 空けておかなければ
If you want to say the negative of ~ておかなきゃならない/いけない or "mustn't
do in advance," you can use ~ておいてはいけない.
e.g.
空けておいてはいけない/空けておいちゃいけない/空けといちゃいけない
空ける; plain
空けておく; -te form of 空ける + おく
空けておいては; -te form of 空けておく+ the particle は
空けておいちゃ/空けといちゃ; the contraction of 空けておいては
Genarally, the いけない following おいちゃ is not omitted.