Hmm, I think this is what you're looking for:
PHP Code:
function onPlayerLogin(temp.pl) {
echo(temp.pl);
}
You should be seeing your account name on RC whenever you login. After you can confirm that, I'd go ahead and add temp.
pl.addweapon("wep");. Is this what you were looking for?