Drag selecting multiple nodes

:question: checked out mavashers “Drag selecting multiple nodes” in the code
snipplets part of the forum and I Know this is a noob question but
can someone tell me how to get it to work when I run the code I
get

   File "RTS.py", line 1
   def Is3dpointIn2dRegion(self, node, point1,point2,point3d): 
   ^
  SyntaxError: invalid syntax

  I'm sure its something simple but I'm new to both python and 
  Pande

  Also If anyone has the time or inclination would anyone out there 
  have some or know were I mite find some code one making objects 
  shoot projectiles at one another? your help would be greatly  
  appreciated

double posting a syntax error eh?