I have got an question, again. 
I got the creating of an object working, but now I want to create if any other player then me 
tries to do the function, it will launch a rocket to kill him. But I get the error: 
 
Here is the code: 
localplayer = getLocalPlayer ()  
source = getLocalPlayer ()   
  
function pest (source, command, who) 
local targetPlayer = getPlayerFromName ( who ) 
if (source) == thomas479 then 
if ( targetPlayer ) then 
local x,y,z = getElementPosition (targetPlayer) 
local xp,yp,zp = getElementRotation ( targetPlayer ) 
createObject ( 970, x, y, z, xp, yp, 0 ) 
else (sourcePlayer) createProjectile ( localplayer, 20, 16, 16, 30, 1, (sourcePlayer), 0, 0, 0, 0, 0, 0, 20 ) 
end 
addCommandHandler ( "pest", pest )  
  
 
I am hoping somebody can help me... 
Thomas