View Single Post
  #13  
Old 09-12-2009, 11:32 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
I'd recommend using TStaticVar's.

PHP Code:
this.registeredguilds = new TStaticVar();
this.registeredguilds.GUILDNAME1.members = { "acc1""acc2""acc3" };
this.registeredguilds.GUILDNAME2.members = { "acc1""acc2""acc3" };
this.registeredguilds.GUILDNAME3.members = { "acc1""acc2""acc3" };

// to read all guilds, use...
this.registeredguilds.getDynamicVarNames()
// to read guild members of a string defined guild, use...
temp.guildName "foobar";
this.registeredguilds.(@temp.guildName).members 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote