its a feature for the JASS gurus. If you have many triggers that need to repeatedly call a particular function, instead of duplicating the function in every trigger that uses it, you can just stick it up the top in the custom script section. Then all you have to do is call the function normally, and your map will automatically find it in your custom script code.