07-04-2016, 04:40 PM
You don't need to worry about any memory management in CBot - the interpreter will handle everything for you (unless there is a bug, which is very likely because of how terrible the CBot interpreter code is). The array will be destroyed as soon as all references to it go out of scope (in this case - at the end of Spider2 function)