Serendipity Library's libraryStack handler not only checks to see if it is the target of the message, it also checks the state of a local variable to determine if libraryStack has already run once. [I don't want to reinitialize variables once the library is in use:]
local sdbMessages
on libraryStack
if the short name of the target is not "Serendipity_Library.rev" then pass libraryStack
if sdbMessages is not empty then exit libraryStack
-- variable initialization
end libraryStack
Note I do NOT pass libraryStack unless the target is not Serendipity Library, as I see nothing going on that other libraries need to know about. And if they do need to know if Serendipity Library is in use, they can check the stacksInUse property.
--
Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm
"And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
