Quote:
Originally Posted by Ronnie
Quick Note:
Not sure if this is just an error on my side, but I found out that if you have an already global guild name, and try to check a guild name that isnt the same case as one of the global guilds stored but is the same exact text, It will say it is not a global guild.
I.e say I use btk and see if it is a global guild (The case is actually BTK)
It will return as no it's not a global guild.
|
If don't want it to be case sensitive replace the originals up top with these functions:
PHP Code:
function onRecordGuild(gid, gname) {
this.("guildid_" @ gid) = gname.lower();
this.("guildname_" @ gname.lower()) = gid;
}
public function getGuildID(gname) {
return this.("guildname_" @ gname.lower());
}
You'll have to reset the DB and let it reload the guild lists though.