You can use the evaluation brackets to match the $nick first with his or her %nick variable. This will match their variable %nicknames with their nicknames and then output the value that belongs to the user, just the way you want it:
Code:
on *:text:!amount:#: {
  notice $nick Your amount is $iif(% [ $+ [ $nick ] ],$ifmatch $+ .,not found.)
}