menu query {
$iif($active == VooDooQueen, Do something) : {
echo -a commands here
}
}
Replace VooDooQueen with the nick of the person you are interested in, or you can use a variable there that is set elsewhere if needed. Also replace "Do something" with what you want to apear in the popup menu and replace my echo with your commands.