1 post • Page 1 of 1
The name has been used then someone tried to make the scripts easier to read. The issue is that the Shipplank script uses this name and call the script engine while the pet script is calling a function with the same name in its own script. It will work sins the Shipplank script don't find this function and will ask the engine while pet script find it and don't send the request to the engine. This was confusing to me in the beginning before I did figure it out, at the same time made me understand how the script engine utilizes the scripts. This explains why some scripts functions have the same name with different codes. This can be used as a fallback code or even for code with completely dependent purpose isolated in different scripts. The cleanup function is an example of this, it does Cleanup the script it is called from.