Console command say

So im trying to make a System that depending of the proximity, you hear the words with the say command any advices or so ?

use something like
Paw.CollidingActors(class’pawn’,…, somedistance…)

sorry cant remember the script exactly
basically if another pawn is in range hear them
have that on a timer of 1 second or whatever so it isnt eating performace