There are two ways I do it:
1) In passing while running another way without stopping
2) Walking up to that person and poking them; If they look back at me, I press /welcome and run off. If they don't I only run off.