compare the value of a list

i need to check if the value of certain position of a list is a specific one. i have a function with macros that are: n (the position in the list im looking), target (the exact value i want to detect) so in this function how could i detect if in the list position n the value is target?? its prob very easy but i dont rememebr
Continue to help post