read the post (would help if u said wot u whant to do with the guild's name in the script )
http://www.lomcn.co.uk/forum/showthread.php?t=54614
if u have the user's and theyr guild's in sql its easy using that guid , if u dont like useing sql so much try the guid for .txt file's from inflikted