Package serverCmdMessageSent(%client,%message). Parent it, then use InitContainerRadiusSearch(%centerPos ,%radius ,%masks) in the function. Such as:
initContainerRadiusSearch(%client.player.getHackPosition(), 12, $TypeMasks::PlayerObjectType);
while(isObject(%searchObj = containerSearchNext()))
{
//Do stuff
}
You may need ContainerRayCast(%startPos,%endPos,%masks) to see if there is some kind of wall, too.