diff --git a/scripts/ai/API b/scripts/ai/API
index e4ae57c..c0c231b 100644
--- a/scripts/ai/API
+++ b/scripts/ai/API
@@ -29,20 +29,24 @@ taskname()
 // CONSULT!
 // ================
 
-gettarget()
+target()
   -- Gets the current target.
     -- return pointer to the target.
 
-gettargerid()
+targerid()
   -- Gets the current targets id.
     -- return number of the current target id.
 
-getdist(Vec2 vect)
+rndpilot()
+	-- Gets a random target ID
+		-- return number of random target id.
+
+dist(Vec2 vect)
   -- Gets the distance from the position of the Vec2 vect.
     -- Vect point to calculate the distance from.
     -- return nil.
 
-getpos([number pilot])
+pos([number pilot])
   -- Get the pilots position of the current pilots position if no pilot
      is specified.
     -- pilot ID of the pilot to get the position of, if no params are called