Line between 2 sybols

what is the script to draw a line between two objects?