Ok, thanks to your help I think I've undersood the variables enough to make it work on Sunday.
I also have set up a first version of my addon that I can test and for which I am pretty optimistic that it'll work. If everything goes well I should be able to share a first version next week so people can use ist when setting up guilds at release.
I'll make sure to update you on how my tests on sunday went.