In the script you linked, there can only be one top guild. Can this work with multiple guilds? I can give a general outline of what I want to do with this script because I think I did a poor job of articulating earlier.
There will be two NPCs at each Castle Map, Pront/Payon/Geffen/Alde/Rachel/Yuno. Basically, they are going to be exactly like the Cats from renewal and the F2 guild dungeons. I noticed, at least with the current script, is that they only unlocked the dungeons for everybody instead of one particular guild. If it had, I would have just ripped the script from there. I want the guild leader to donate 10 million zeny to the 1st NPC and then that NPC will allow everybody in that guild to have access to the guild dungeon for the new 48 hours. Everybody in that guild can now talk to the 2nd NPC, who will teleport anybody, in the guild who donated, into the guild dungeon. I would also like other guilds to also be able to enter the dungeon at the same time with their own separate 48 hour timers.
I can make a script with most of this but I can't figure out how to make a temporary 48 hour timer without a quest being set and I'm not sure how to attach this said 48 hour timer to a guild, rather than one specific player. That is what I need help with. =X