No, it's simle. One says bohdej, the other says bohdej back. It get's more complicated when you eat. One says bogžegni and you say bogloni. Interesting, if you drive towards Šmarje pri Jelšah from Celje you eventually hearn only the greeting "bog". So, for hello bog, for bye bog, for everything bog.

'Bog' is pretty much universal for greetings and farewell in Croatia ( Bok for Zagreb).