Common FFXI script functions explained