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