getAIPath

getAIPath([number entity]) → string path
Returns the path of entity's AI, for example /folder/ai, if this AI is yours. A summon runs its summoner's AI. The path of another farmer's AI stays private: getAIName gives its file name. Use getAIPath() with no parameter to get your own AI's path.