in my server survival I want every player stand in nether portal get randomly teleport
but I don't know how
I tried doing it by command block which I wrote in it /execute if entity @p[x=....,y=....z=....]
and tied it with comparator then tp random @p but nothing happen
for tprandom I use plugin essentials
enyone can help ?