Then Moses stood at the entrance ... "Whoever is on Yahweh's side, come to me."
"Then Moses stood at the entrance to the camp and said that whoever was on Yahweh's side should come to him"
Whoever is on Yahweh's side
"Whoever is loyal to Yahweh" or "Whoever serves Yahweh"