.refvel
From WikiManual
699 .refvel (refvelup, refveldn, refvelsx, refveldn) Returns velocity of any target using targets frame of reference. Uses eye5. Value is not refreshed if (*.eye5 0 =). Highest possible value is found using *.maxvel, lowest value by using (*.maxvel -1 mult).