@Blurper let us know what solution you come up with and update the thread. I'm sure a lot of other people have the same question. But I'm pretty sure you have to use -no randoms.
Are you asking how to know if random event is for you or for another player?
You can just ignore them and they will go away. Or click on settings then tick "dismiss randoms".