Note that this is incorrect code:
PHP Code:
echo("found" SPC temp.pl);
temp.pl is the player object, instead you should do this:
PHP Code:
echo(temp.pl.account);
I mention this because you will get unexpected results if you try to use that object as a string (e.g. using it in a variable name or sending it in a trigger).