I like to use functions, but I don't like to copy and paste the functions from file to file if I want to make a change to them. So my idea is to make a file that automatically loads functions across all the e2 files that need them.
For example you write function isInArray(Array:array,E:entity){ect} inside your function file and you call it in another e2 it will work without you having to ever paste it.
Use the include directive,
function entity:shit()
{
print(This:name())
}
^ file's name is "shit.txt"
if(first())
{
#include "shit"
owner():shit()
}
^ works
excellent examples once again