Quest::CreateGuild(guild_name, leader); - Question!
Good Afternoon Gentlemen,
Pretty simple question, tough answer? In Referance too, "quest::CreateGuild(guild_name, leader); " i've read the following thread: http://www.eqemulator.org/forums/sho...guild+creation :???: "How does the player specify the guild name for a quest creation"? I understand it grabs leaders name from the person turning in the quest. and the variable it uses is "guild_name" but how do i fill that variable as a player? Can the player type it into a parchment? Say it out loud at a certain point? Goal: Im attempting to make a quest to automate guild creation, so that no GM intervention is required. AKA.. Turn in Item "A" and "B" and your guild is created. EXAMPLE: Quote:
|
basically as a NON-GM how would a user specify the guild name for a quest creation?
|
I've got an idea for you, but I'd have to test it out first. Maybe I'll have a chance when I get home tonight. It would basically use the text from the client following the turn-in and specific dialogue.
|
excellent, let me know
|
I was thinking something like this (untested):
Code:
my $GuildName = ''; |
That looks pretty good. There is at least 1 thing that needs to be corrected in that script and it is the line that actually creates the guild:
Code:
quest::CreateGuild(guild_name, leader); Code:
quest::CreateGuild($GuildName , $GuildLeader); |
Yeah, I realized that I hadn't added the variables late last night and came to edit but you already caught it. I also didn't check the syntax of the create command.
|
Looking at the code again, it looks like it is looking for the character id for the leader instead of just the name, so you would want to get their character ID and use it in that function instead of the char name.
|
Quote:
http://www.eqemulator.org/forums/showthread.php?t=33655 |
going to try it with the corrections tomorrow... its 1am atm.. bout to pass out.. I'll let you know how it turns out.
|
Anyone ever get this working?
|
Yes, this now works, as this post was 3 years ago, but I guess they never posted to let anyone know, check here for our Perl reference:
Code:
quest::createguild(guild_name, leader_name) # Creates a new guild. |
All times are GMT -4. The time now is 12:25 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.