prior to my discovery of the regularly touted OpenRPG chat/map client, I used a "range" system when running online combat.
Basically, there were a few states of position that people could be in relation: Melee Range, Close Range, Far Range, Penalties Range, Sight Range.
Melee: I can hit you...