in reply to Need script help

Slices return a subset of a list. This returns the 1st 3 elements of the array:
@eplist[0 .. 2];

See also Basic debugging checklist and How do I compose an effective node title?