Page 1 of 1

Guild Creation Problems

Posted: Thu Jan 28, 2010 3:34 pm
by Durge
Didn't know if the guilds were up and running yet, but if they are it says theres an error when i try to create a guild.

Re: Guild Creation Problems

Posted: Thu Jan 28, 2010 4:23 pm
by John Adams

Code: Select all

/guilds create "Your Guild Name" YourName
      ^---  don't forget the "S"

Re: Guild Creation Problems

Posted: Thu Jan 28, 2010 4:30 pm
by Durge
Ya, i rememberd the S, but it still gives an error. I'll get a screeny the next time im on.

EDIT:Got a picture

Image

Re: Guild Creation Problems

Posted: Thu Jan 28, 2010 8:37 pm
by JCL
Try putting the guild name in ' '
Like /guilds create 'Dragons Rage Carrot'
You might have to manually put in the ' for Dragon's later.

Re: Guild Creation Problems

Posted: Thu Jan 28, 2010 9:01 pm
by Zcoretri
JCL wrote:Try putting the guild name in ' '
Like /guilds create 'Dragons Rage Carrot'
You might have to manually put in the ' for Dragon's later.
Nice suggestion JCL...and apostrophes are a pain sometimes :?

Re: Guild Creation Problems

Posted: Thu Jan 28, 2010 10:47 pm
by Scatman
Ok. Our separator splits arguments up by spaces. If you want an argument to be more than a single word you need to enclose the whole entire argument in double OR single quotes (be consistent).

Examples:
/guilds create guild scatman
This will create a guild called 'guild' and make scatman the leader.

/guilds create 'the uber guild' scatman
will create a guild called 'the uber guild' and make scatman the leader

/guilds create the uber guild scatman
will try to create a guild called 'the' and try to make the leader of the guild 'uber' (which most likely doesn't exist and fail).

The command is /guilds create <guild name> <player name>
Player name IS optional and if not supplied, your current target will be used if they are a PC. If you have no target, a guild with no members is created (the least likely option you'd want).

Edit:
Just to note:
The reason why you got that message was because it was looking for a client with a player's name of 'Rage'. I'm going to modify the code now to be a little bit more helpful with the error messages so thanks :P

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 5:27 am
by Durge
Ok, thanks for the help guys, I'll try using apostrophes.

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 6:42 am
by John Adams
John Adams wrote:

Code: Select all

/guilds create "Your Guild Name" YourName
      ^---  don't forget the "S"
I thought this was clear enough. "Your Guild Name" in my example even shows using quotes. Double quotes. Not apostrophes.

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 7:49 am
by JCL
I used apostrophes because when I used quotes on my server it didn't really work. It added a quote to the name.

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 12:01 pm
by Durge
Ok, thanks John quotes worked.

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 12:20 pm
by John Adams
JCL wrote:I used apostrophes because when I used quotes on my server it didn't really work. It added a quote to the name.
Old bug, since been fixed.

Re: Guild Creation Problems

Posted: Fri Jan 29, 2010 8:26 pm
by JCL
John Adams wrote:
JCL wrote:I used apostrophes because when I used quotes on my server it didn't really work. It added a quote to the name.
Old bug, since been fixed.
Okay thanks. I suppose we can close this and call it solved :D