rotation rot = llGetRot() * llRotBetween(<0.0 ,0.0 ,1.0 > * llGetRot(), a - llGetPos()); llSetRot(rot);
[edit]