11.04.2009, 21:10
How can I check if a name is in use.
I'm saving using Astro's method, with enums and such. And I'm building a user creation of factions for roleplay.
The user has to type /buyfaction.
Then he will be asked to enter a name for his faction, when he does how can I check if it's not already taken, and if it is then it will say please enter another name.
An example would be great, thanks.
I'm saving using Astro's method, with enums and such. And I'm building a user creation of factions for roleplay.
The user has to type /buyfaction.
Then he will be asked to enter a name for his faction, when he does how can I check if it's not already taken, and if it is then it will say please enter another name.
An example would be great, thanks.