You can add a call button for an external script to each page. A sample receiving script is in the magazine book, or below the images.
default
{
link_message(integer link, integer page, string message, key id) {
if (message == "function") {
llOwnerSay("page: " + (string)page + " function parameter: " + (string)id);
}
}
}